Skip to content

Commit

Permalink
improve publish-release
Browse files Browse the repository at this point in the history
  • Loading branch information
arshaw committed Sep 26, 2016
1 parent 76ba9a7 commit 363db44
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/publish-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ fi
# return to branch
git checkout --quiet "$current_branch"

# restore generated dist files
git checkout --quiet "v$version" -- dist
git reset --quiet -- dist

if [[ "$success" == "1" ]]
then
echo "Success."
Expand Down

0 comments on commit 363db44

Please sign in to comment.