Skip to content

Commit

Permalink
feat: git hook is not executed in release script
Browse files Browse the repository at this point in the history
  • Loading branch information
rakuyoMo committed Apr 25, 2024
1 parent 0368033 commit 4d14c5f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ git_merge() {
local merge_message=$3

git checkout "$to_branch"
git merge --no-ff -m "$merge_message" "$from_branch"
git_push "$to_branch"
git merge --no-ff -m "$merge_message" "$from_branch" --no-verify
git_push "$to_branch" --no-verify
}

git_push() {
git push origin "$1"
git push origin "$1" --no-verify
}

release(){
Expand All @@ -31,7 +31,7 @@ release(){
git checkout -b ${release_branch} ${main_branch}

git_message="release: version ${version}"
git add . && git commit -m "${git_message}"
git add . && git commit -m "${git_message}" --no-verify

git_merge "$release_branch" "$main_branch" "Merge branch '$release_branch'"

Expand Down

0 comments on commit 4d14c5f

Please sign in to comment.