Skip to content

Commit

Permalink
fix: This is a bugfix for skip_ci (#55)
Browse files Browse the repository at this point in the history
* removed if skip

* test

* test

* test

* test

* test

* feat

* fix skip_ci

* fi
  • Loading branch information
jacopocarlini authored May 30, 2024
1 parent 5225a04 commit 473d7a7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion maven-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ runs:
git ls-files . | grep 'pom.xml' | xargs git add
git config --global user.email "[email protected]"
git config --global user.name "pagopa-github-bot"
git commit -m "Bump to version ${{ steps.semver.outputs.version }} ${{ (inputs.skip_ci && '[skip ci]') || '' }}" || exit 0
if [ "${{ inputs.skip_ci }}" = "true" ]; then
git commit -m "Bump to version ${{ steps.semver.outputs.version }} [skip ci]" || exit 0
else
git commit -m "Bump to version ${{ steps.semver.outputs.version }}" || exit 0
fi
git push origin ${{ github.ref_name}}
- name: Create Release
Expand Down
6 changes: 5 additions & 1 deletion node-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ runs:
git add .
git config --global user.email "[email protected]"
git config --global user.name "pagopa-github-bot"
git commit -m "Bump to version ${{ steps.semver.outputs.new_version }} ${{ (inputs.skip_ci && '[skip ci]') || '' }}" || exit 0
if [ "${{ inputs.skip_ci }}" = "true" ]; then
git commit -m "Bump to version ${{ steps.semver.outputs.new_version }} [skip ci]" || exit 0
else
git commit -m "Bump to version ${{ steps.semver.outputs.new_version }}" || exit 0
fi
git push origin ${{ github.ref_name}}

- name: Create Release
Expand Down

0 comments on commit 473d7a7

Please sign in to comment.