diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-11-11 07:47:42 -0800 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-11-14 20:10:40 +0000 |
commit | 86da5a104758a199099eee1446f27cdd237754e1 (patch) | |
tree | d3e38c0164c81fb1b1739615fdcd876f5c4fae3b /scripts/mkimage-yaml.sh | |
parent | ac210c74ae7940ef3585ef498e3e3a00e66cb7b4 (diff) | |
download | aports-86da5a104758a199099eee1446f27cdd237754e1.tar.bz2 aports-86da5a104758a199099eee1446f27cdd237754e1.tar.xz |
scripts/mkimage: fix generation of version string
use git tag if we are at a given tag. use timestamp otherwise
Diffstat (limited to 'scripts/mkimage-yaml.sh')
-rwxr-xr-x | scripts/mkimage-yaml.sh | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/mkimage-yaml.sh b/scripts/mkimage-yaml.sh index 0170f3ee00..466ee88a75 100755 --- a/scripts/mkimage-yaml.sh +++ b/scripts/mkimage-yaml.sh @@ -34,12 +34,6 @@ fi [ -n "$arch" ] || arch=$(apk --print-arch) -if [ -z "$release" ]; then - release=$(git describe --always) - if git describe --exact-match >/dev/null 2>&1; then - release=${release#v} - fi -fi for image; do filepath="$releasedir/${image##*/}" |