mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 08:44:17 -04:00
release: echo assets (#2060)
help debug why the assets' sha256 files weren't upload to github. Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -98,6 +98,7 @@ github-push:
|
|||||||
@$(eval RELEASE:=$(shell curl -s -d '{"tag_name": "v$(VERSION)", "name": "v$(VERSION)"}' "https://api.github.com/repos/$(GITHUB)/$(NAME)/releases?access_token=${GITHUB_ACCESS_TOKEN}" | grep -m 1 '"id"' | tr -cd '[[:digit:]]'))
|
@$(eval RELEASE:=$(shell curl -s -d '{"tag_name": "v$(VERSION)", "name": "v$(VERSION)"}' "https://api.github.com/repos/$(GITHUB)/$(NAME)/releases?access_token=${GITHUB_ACCESS_TOKEN}" | grep -m 1 '"id"' | tr -cd '[[:digit:]]'))
|
||||||
@echo ReleaseID: $(RELEASE)
|
@echo ReleaseID: $(RELEASE)
|
||||||
@for asset in `ls -A release`; do \
|
@for asset in `ls -A release`; do \
|
||||||
|
echo $$asset; \
|
||||||
curl -o /dev/null -X POST \
|
curl -o /dev/null -X POST \
|
||||||
-H "Content-Type: application/gzip" \
|
-H "Content-Type: application/gzip" \
|
||||||
--data-binary "@release/$$asset" \
|
--data-binary "@release/$$asset" \
|
||||||
|
|||||||
Reference in New Issue
Block a user