Skip to content

Commit a93ff90

Browse files
abhimanyu003cardoe
authored andcommitted
fix: rename understack to understackctl
1 parent aa136e1 commit a93ff90

File tree

3 files changed

+15
-14
lines changed

3 files changed

+15
-14
lines changed

.github/workflows/understack-cli-release.yaml renamed to .github/workflows/understackctl-release.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Releases
22
on:
33
push:
44
tags:
5-
- "understack/v[0-9]+.[0-9]+.[0-9]+"
5+
- "understackctl/v[0-9]+.[0-9]+.[0-9]+"
66

77
permissions:
88
contents: write
@@ -33,16 +33,16 @@ jobs:
3333
run: sudo apt-get install -y sed grep
3434

3535
- name: Build and Package
36-
working-directory: go/understack
36+
working-directory: go/understackctl
3737
run: |
3838
make build-all package-all checksums
3939
4040
- name: Upload release artifacts
4141
uses: softprops/action-gh-release@v2
4242
with:
4343
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
4747
env:
4848
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

go/understackctl/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ vendor/
2121

2222
# goreleaser dist folder
2323
dist/
24+
build/
2425

2526
# IntelliJ
2627
.idea

go/understack/Makefile renamed to go/understackctl/Makefile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
# Makefile will understack go binary for multiple GOOS and GOARCH
1+
# Makefile will understackctl go binary for multiple GOOS and GOARCH
22
#
33
# 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
1010
#
1111
# package-all: will package folders into .tar.gz and for windows .zip
1212

13-
BINARY_NAME=understack
13+
BINARY_NAME=understackctl
1414

1515
GOOS_LIST=linux darwin windows
1616
GOARCH_LIST=386 amd64 arm64
1717

1818
BUILD_DIR=build
1919

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")
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)