Skip to content

Commit

Permalink
When building a release, if the GH release exists just leave it alone
Browse files Browse the repository at this point in the history
  • Loading branch information
rjmackay committed Sep 8, 2016
1 parent f157431 commit 96887df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/release.run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ ghr() {

if ghr info --tag $GITHUB_VERSION ; then
# release already exists
ghr edit --tag $GITHUB_VERSION --name $GITHUB_VERSION --pre-release
echo "Release already exists, leaving it alone"
else
# release has to be created
ghr release --tag $GITHUB_VERSION --name $GITHUB_VERSION --pre-release
ghr release --tag $GITHUB_VERSION --name $GITHUB_VERSION
fi

for f in $(find /release -type f); do
Expand Down

0 comments on commit 96887df

Please sign in to comment.