Skip to content

Commit

Permalink
chore: allow empty commit for version push
Browse files Browse the repository at this point in the history
  • Loading branch information
andersonbosa committed May 12, 2024
1 parent 99b5e07 commit 04ddd0d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions moshell.sh/tools/version_manager.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,7 @@ function __moshell:tools::version_manager::increment_version() {
}

function __moshell::tools::version_manager::push_version() {
git add version
git commit -m "release($(cat $_MOSHELL_DIR_BASE_PATH/version))"
git commit --allow-empty -m "release($(cat $_MOSHELL_DIR_BASE_PATH/version))"
git push -u origin $(git branch --show-current)
exit 0
}
Expand Down

0 comments on commit 04ddd0d

Please sign in to comment.