1
1
mirror of https://github.com/tonsky/FiraCode.git synced 2024-07-14 16:20:28 +03:00
FiraCode/script/package
Andrew Archibald 888580a05a Use git-tagged version when packaging
`git describe --tags` returns a version string like '5.2-36-g15f7925'
when on commit g15f7925, which is 36 commits after the tag 5.2.
This is a more clear version when between releases.
2021-02-19 00:34:41 +01:00

12 lines
199 B
Bash
Executable File

#!/bin/zsh -euo pipefail
cd "`dirname $0`/.."
VERSION="$(git describe --tags)"
FILE="Fira_Code_v$VERSION.zip"
rm -f $FILE
pushd distr
find . -not -name ".*" | xargs zip ../$FILE
popd
ls -lah $FILE