File tree Expand file tree Collapse file tree 3 files changed +15
-14
lines changed Expand file tree Collapse file tree 3 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: Releases
2
2
on :
3
3
push :
4
4
tags :
5
- - " understack /v[0-9]+.[0-9]+.[0-9]+"
5
+ - " understackctl /v[0-9]+.[0-9]+.[0-9]+"
6
6
7
7
permissions :
8
8
contents : write
@@ -33,16 +33,16 @@ jobs:
33
33
run : sudo apt-get install -y sed grep
34
34
35
35
- name : Build and Package
36
- working-directory : go/understack
36
+ working-directory : go/understackctl
37
37
run : |
38
38
make build-all package-all checksums
39
39
40
40
- name : Upload release artifacts
41
41
uses : softprops/action-gh-release@v2
42
42
with :
43
43
files : |
44
- go/understack /build/*.zip
45
- go/understack /build/*.tar.gz
46
- go/understack /build/checksums.txt
44
+ go/understackctl /build/*.zip
45
+ go/understackctl /build/*.tar.gz
46
+ go/understackctl /build/checksums.txt
47
47
env :
48
48
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ vendor/
21
21
22
22
# goreleaser dist folder
23
23
dist /
24
+ build /
24
25
25
26
# IntelliJ
26
27
.idea
Original file line number Diff line number Diff line change 1
- # Makefile will understack go binary for multiple GOOS and GOARCH
1
+ # Makefile will understackctl go binary for multiple GOOS and GOARCH
2
2
#
3
3
# Output will be like this:
4
- # understack_darwin_amd64 /
5
- # └── understack
6
- # understack_windows_amd64 /
7
- # └── understack .exe
8
- # understack_darwin_amd64 .tar.gz
9
- # understack_windows_amd64 .zip
4
+ # understackctl_darwin_amd64 /
5
+ # └── understackctl
6
+ # understackctl_windows_amd64 /
7
+ # └── understackctl .exe
8
+ # understackctl_darwin_amd64 .tar.gz
9
+ # understackctl_windows_amd64 .zip
10
10
#
11
11
# package-all: will package folders into .tar.gz and for windows .zip
12
12
13
- BINARY_NAME =understack
13
+ BINARY_NAME =understackctl
14
14
15
15
GOOS_LIST =linux darwin windows
16
16
GOARCH_LIST =386 amd64 arm64
17
17
18
18
BUILD_DIR =build
19
19
20
- VERSION := $(shell git describe --tags --abbrev=0 --match "understack /v[0-9]* .[0-9]* .[0-9]* " 2>/dev/null || echo "dev")
20
+ VERSION := $(shell git describe --tags --abbrev=0 --match "understackctl /v[0-9]* .[0-9]* .[0-9]* " 2>/dev/null || echo "dev")
21
21
COMMIT := $(shell git rev-parse --short HEAD)
22
22
LDFLAGS := -ldflags="-s -w -X 'main.version=$(VERSION ) ' -X 'main.commit=$(COMMIT ) '"
23
23
You can’t perform that action at this time.
0 commit comments