Skip to content

Commit

Permalink
Don't fail deploy script on empty working tree
Browse files Browse the repository at this point in the history
  • Loading branch information
jdecked committed Jun 1, 2021
1 parent a5be321 commit d314f3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if [[ $VERSION =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
git add latest
fi

git commit -q -m "Publish v$VERSION"
git diff-index --quiet HEAD || git commit -q -m "Publish v$VERSION"
git push origin $PUBLISH_BRANCH
popd

Expand Down

0 comments on commit d314f3d

Please sign in to comment.