Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Fix release problem
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle committed Mar 1, 2021
1 parent 56c2e79 commit b5b155a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ release: dist
tar -cvzf dockerize-linux-ppc64le-$(TAG).tar.gz -C dist/linux/ppc64le dockerize

push-release: release
echo -ne "machine github.com\nlogin $(DEPLOY_LOGIN)\npassword $(DEPLOY_PASSWORD)\n" > $(HOME)/.netrc && chmod 600 ~/.netrc
echo -ne "github.com:- user: $(DEPLOY_LOGIN)\n oauth_token: $(DEPLOY_PASSWORD)\n protocol: https\n" > $(HOME)/.config/hub
echo -ne "machine github.com\nlogin $$DEPLOY_LOGIN\npassword $$DEPLOY_PASSWORD\n" > ~/.netrc && chmod 600 ~/.netrc
echo -ne "github.com:\n- user: $$DEPLOY_LOGIN\n oauth_token: $$DEPLOY_PASSWORD\n protocol: https\n" > ~/.config/hub
git config --global --add user.name "Github Actions"
git config --global --add user.email "github-action@users.noreply.github.com"
hub release create \
GIT_EDITOR=true hub release create \
-a dockerize-linux-amd64-$(TAG).tar.gz \
-a dockerize-linux-386-$(TAG).tar.gz \
-a dockerize-linux-armel-$(TAG).tar.gz \
Expand Down

0 comments on commit b5b155a

Please sign in to comment.