Skip to content

Commit

Permalink
release_version (#652)
Browse files Browse the repository at this point in the history
fail if unable to determine release version

Signed-off-by: Chaitanya Kandagatla <[email protected]>
  • Loading branch information
ckandag authored Aug 1, 2024
1 parent c3d52e2 commit 8073ef8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hack/build_release_images.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ archs=(amd64)
oses=(darwin windows linux)

REL_VER=$(git describe --tags --abbrev=0 | sed "s/v//")
if [[ -z "$REL_VER" ]]; then
echo "Failed to determine release version" 1>&2
exit 1
fi
mkdir -p releases

build_release() {
Expand Down

0 comments on commit 8073ef8

Please sign in to comment.