Skip to content

Commit

Permalink
#34 do not fail if there is not commit to do
Browse files Browse the repository at this point in the history
  • Loading branch information
mageddo committed Oct 15, 2017
1 parent 80c8d3e commit 654534b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ case $1 in
git checkout -b build_branch ${CURRENT_BRANCH}
echo "> Repository added, currentBranch=${CURRENT_BRANCH}"

git commit -am "Releasing ${APP_VERSION}" # if there is nothing to commit the program will exits
git commit -am "Releasing ${APP_VERSION}" || true
git tag ${APP_VERSION}
git push "$REMOTE" "build_branch:${CURRENT_BRANCH}"
git status
Expand Down

0 comments on commit 654534b

Please sign in to comment.