[ap/knock-bin] avoid garbage tag

Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
Gwenhael Le Moine 2022-10-18 15:50:31 +02:00
parent da774e7792
commit a7818310f9
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -3,7 +3,7 @@
CWD=$(pwd)
PRGNAM=$(basename $CWD)
VERSION=${VERSION:-$(curl -s https://api.github.com/repos/BentonEdmondson/knock/tags | jq -r '.[0].name')}
VERSION=${VERSION:-$(curl -s https://api.github.com/repos/BentonEdmondson/knock/tags | jq -r '.[1].name')}
ARCH=$(uname -m)
BUILD=${BUILD:-1}
TAG=${TAG:-gwh}