1
0
Fork 0
mirror of synced 2024-05-02 11:43:04 +12: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