Skip to content

Commit 0fea277

Browse files
committed
fix: add release update from makefile
1 parent be6b28e commit 0fea277

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
OWNER := dnitsch
12
NAME := aws-cli-auth
2-
VERSION := v0.6.3
3+
VERSION := v0.7.0
34
REVISION := $(shell git rev-parse --short HEAD)
45

6+
57
LDFLAGS := -ldflags="-s -w -X \"github.com/dnitsch/aws-cli-auth/cmd.Version=$(VERSION)\" -X \"github.com/dnitsch/aws-cli-auth/cmd.Revision=$(REVISION)\" -extldflags -static"
68

79
.PHONY: test test_ci tidy install buildprep build buildmac buildwin
@@ -43,8 +45,9 @@ release: cross-build
4345
git push origin $(VERSION)
4446
curl \
4547
-X POST \
48+
-u $(OWNER):$(PAT) \
4649
-H "Accept: application/vnd.github.v3+json" \
47-
https://api.github.com/repos/dnitsch/$(NAME)/releases \
50+
https://api.github.com/repos/$(OWNER)/$(NAME)/releases \
4851
-d '{"tag_name":"$(VERSION)","generate_release_notes":true,"prerelease":false}'
4952

5053
.PHONY: deps

0 commit comments

Comments
 (0)