Skip to content

Commit aa136e1

Browse files
abhimanyu003cardoe
authored andcommitted
fix: makefile and git tag cleanup
1 parent 16f6597 commit aa136e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/understack-cli-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
cache: true
3131

3232
- name: Install dependencies
33-
run: sudo apt-get install -y zip tar make sed grep
33+
run: sudo apt-get install -y sed grep
3434

3535
- name: Build and Package
3636
working-directory: go/understack

go/understack/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ GOARCH_LIST=386 amd64 arm64
1717

1818
BUILD_DIR=build
1919

20-
VERSION := $(shell git describe --tags --abbrev=0 2>/dev/null || echo "dev")
20+
VERSION := $(shell git describe --tags --abbrev=0 --match "understack/v[0-9]*.[0-9]*.[0-9]*" 2>/dev/null || echo "dev")
2121
COMMIT := $(shell git rev-parse --short HEAD)
2222
LDFLAGS := -ldflags="-s -w -X 'main.version=$(VERSION)' -X 'main.commit=$(COMMIT)'"
2323

0 commit comments

Comments
 (0)