mirror of
https://github.com/coredns/coredns.git
synced 2025-10-26 15:54:16 -04:00
Bump version to 1.2.2 (#2067)
* Bump version to 1.2.2 Release 1.2.2 Signed-off-by: Miek Gieben <miek@miek.nl> * Fix filename to what we upload With ls dir/* the pathname returned are diff. then we with ls dir, fix how curl is called. Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -101,14 +101,14 @@ github-push:
|
||||
echo $$asset; \
|
||||
curl -o /dev/null -X POST \
|
||||
-H "Content-Type: application/gzip" \
|
||||
--data-binary "@release/$$asset" \
|
||||
--data-binary "@$$asset" \
|
||||
"https://uploads.github.com/repos/$(GITHUB)/$(NAME)/releases/$(RELEASE)/assets?name=$${asset}&access_token=${GITHUB_ACCESS_TOKEN}" ; \
|
||||
done
|
||||
@for asset in `ls -A release/*sha256`; do \
|
||||
echo $$asset; \
|
||||
curl -o /dev/null -X POST \
|
||||
-H "Content-Type: text/plain" \
|
||||
--data-binary "@release/$$asset" \
|
||||
--data-binary "@$$asset" \
|
||||
"https://uploads.github.com/repos/$(GITHUB)/$(NAME)/releases/$(RELEASE)/assets?name=$${asset}&access_token=${GITHUB_ACCESS_TOKEN}" ; \
|
||||
done
|
||||
|
||||
|
||||
Reference in New Issue
Block a user