888580a05a
`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.
12 lines
199 B
Bash
Executable file
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 |