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:
Miek Gieben
2018-08-29 07:51:45 +01:00
committed by GitHub
parent 684c35d56b
commit eb51e8bac9
4 changed files with 10 additions and 8 deletions

View File

@@ -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