Skip to content

Commit 218a309

Browse files
committed
fix: release via shell
1 parent 986a366 commit 218a309

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
OWNER := dnitsch
22
NAME := aws-cli-auth
3-
VERSION := v0.7.3
3+
VERSION := v0.7.4
44
REVISION := $(shell git rev-parse --short HEAD)
55

66

@@ -43,7 +43,7 @@ cross-build:
4343
release: cross-build
4444
git tag $(VERSION)
4545
git push origin $(VERSION)
46-
id=$(curl \
46+
id=$(shell curl \
4747
-X POST \
4848
-u $(OWNER):$(PAT) \
4949
-H "Accept: application/vnd.github.v3+json" \
@@ -52,7 +52,7 @@ release: cross-build
5252
upload_url=https://uploads.github.com/repos/$(OWNER)/$(NAME)/releases/$$id/assets; \
5353
for asset in dist/*; do \
5454
echo $$asset; \
55-
name=$(echo $$asset | cut -c 6-); \
55+
name=$(shell echo $$asset | cut -c 6-); \
5656
curl -u $(OWNER):$(PAT) -H "Content-Type: application/x-binary" -X POST --data-binary "@$$asset" "$$upload_url?name=$$name"; \
5757
done
5858

0 commit comments

Comments
 (0)