Skip to content

Commit

Permalink
ci: split commit + push on release
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F authored Jan 15, 2024
1 parent e7c8c9e commit 80856da
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions script/release-workflow/git-commit.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

set -euo >/dev/null

if [[ $(git status --porcelain) ]]; then
git add Gemfile.lock VERSION lib/pact/cli/version.rb
git commit -m "chore(release): version ${TAG}"
fi
1 change: 1 addition & 0 deletions script/release-workflow/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ ${script_dir}/docker-build.sh
${script_dir}/scan.sh
${script_dir}/prepare-release.sh
${script_dir}/docker-push.sh
${script_dir}/git-commit.sh
${script_dir}/git-push.sh

0 comments on commit 80856da

Please sign in to comment.