Skip to content

Commit

Permalink
Update release process
Browse files Browse the repository at this point in the history
  • Loading branch information
alichtman committed May 13, 2020
1 parent 75e37a5 commit 59aceaf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ if [[ "$BRANCH" != "master" ]]; then
fi

# Check if master is dirty
[[ -z $(git status -s) ]] || echo 'Master branch dirty! Aborting.' && exit 1
if [[ ! -z $(git status -s) ]]; then
echo 'Master branch dirty! Aborting.';
exit 1;
fi

SB_VERSION="v$(python3 -c "from shallow_backup.constants import ProjInfo; print(ProjInfo.VERSION)")"
SB_VERSION_NO_V="$(python3 -c "from shallow_backup.constants import ProjInfo; print(ProjInfo.VERSION)")"
Expand Down

0 comments on commit 59aceaf

Please sign in to comment.