We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16f6597 commit aa136e1Copy full SHA for aa136e1
.github/workflows/understack-cli-release.yaml
@@ -30,7 +30,7 @@ jobs:
30
cache: true
31
32
- name: Install dependencies
33
- run: sudo apt-get install -y zip tar make sed grep
+ run: sudo apt-get install -y sed grep
34
35
- name: Build and Package
36
working-directory: go/understack
go/understack/Makefile
@@ -17,7 +17,7 @@ GOARCH_LIST=386 amd64 arm64
17
18
BUILD_DIR=build
19
20
-VERSION := $(shell git describe --tags --abbrev=0 2>/dev/null || echo "dev")
+VERSION := $(shell git describe --tags --abbrev=0 --match "understack/v[0-9]*.[0-9]*.[0-9]*" 2>/dev/null || echo "dev")
21
COMMIT := $(shell git rev-parse --short HEAD)
22
LDFLAGS := -ldflags="-s -w -X 'main.version=$(VERSION)' -X 'main.commit=$(COMMIT)'"
23
0 commit comments