mirror of
https://github.com/tonsky/FiraCode.git
synced 2024-08-17 17:00:42 +03:00
`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 |