Skip to content

Commit

Permalink
Improve release script
Browse files Browse the repository at this point in the history
  • Loading branch information
pgaskin committed Jul 28, 2017
1 parent ee08531 commit e8a5d1c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ done

if [[ "$SKIP_UPLOAD" != "true" ]]; then
echo "Creating release"
echo "Deleting old release if it exists"
GITHUB_TOKEN=$GITHUB_TOKEN github-release delete \
--user geek1011 \
--repo kepubify \
--tag $APP_VERSION >/dev/null 2>/dev/null || true
echo "Creating new release"
GITHUB_TOKEN=$GITHUB_TOKEN github-release release \
--user geek1011 \
--repo kepubify \
Expand Down

0 comments on commit e8a5d1c

Please sign in to comment.