Fix push-release
This commit is contained in:
3
Makefile
3
Makefile
@@ -129,11 +129,10 @@ test:
|
|||||||
|
|
||||||
|
|
||||||
.ONESHELL:
|
.ONESHELL:
|
||||||
push-release:
|
push-release: build-all
|
||||||
@rm -f release.id
|
@rm -f release.id
|
||||||
# read personal access token from .git-credentials
|
# read personal access token from .git-credentials
|
||||||
TOKEN=$(shell cat .credentials)
|
TOKEN=$(shell cat .credentials)
|
||||||
# create the body of the release from latest tag
|
|
||||||
# create a new release based on current tag and get the release id
|
# create a new release based on current tag and get the release id
|
||||||
@curl -sSL -X POST \
|
@curl -sSL -X POST \
|
||||||
-H "Accept: application/vnd.github.v3+json" \
|
-H "Accept: application/vnd.github.v3+json" \
|
||||||
|
Reference in New Issue
Block a user