Skip to content

Commit

Permalink
Update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
Limych committed Feb 21, 2022
1 parent 9a8b3cd commit e200098
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,9 @@ new=$(validate_version "${1}")
log.info "Patch files to version '${new}'..."
sed -i -E "s/(^VERSION = \")[^\"]*/\\1${new}/" ${const_path}
./bin/update_manifest
git commit -a --no-verify -m "Bump version to ${new}"
if output=$(git status --porcelain) && [[ -n "$output" ]]; then
git commit -a --no-verify -m "Bump version to ${new}"
fi
git tag -a "$new" -m "v$new"
log.info "Commit tagged as v$new"

Expand Down

0 comments on commit e200098

Please sign in to comment.