mirror of
https://github.com/coredns/coredns.git
synced 2025-10-26 15:54:16 -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:]]'))
|
||||
@echo ReleaseID: $(RELEASE)
|
||||
@for asset in `ls -A release`; do \
|
||||
echo $$asset; \
|
||||
curl -o /dev/null -X POST \
|
||||
-H "Content-Type: application/gzip" \
|
||||
--data-binary "@release/$$asset" \
|
||||
|
||||
Reference in New Issue
Block a user