Skip to content

Commit

Permalink
upload asset to github 1 by 1
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasMahe committed Mar 12, 2020
1 parent 15d588d commit d7014ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/publish-cmds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ done
go install github.com/tcnksm/ghr

if [[ "$2" == "dev" ]]; then
ghr -u mesg-foundation -r engine -delete -prerelease -n "Developer Release" -b "Warning - this is a developer release, use it only if you know what are doing. Make sure to pull the latest \`mesg/engine:dev\` image." release-dev ./bin
ghr -u mesg-foundation -r engine -p 1 -delete -prerelease -n "Developer Release" -b "Warning - this is a developer release, use it only if you know what are doing. Make sure to pull the latest \`mesg/engine:dev\` image." release-dev ./bin
fi
if [[ "$2" == "prod" ]]; then
ghr -u mesg-foundation -r engine -replace $1 ./bin
ghr -u mesg-foundation -r engine -p 1 -replace "$1" ./bin
fi

0 comments on commit d7014ac

Please sign in to comment.