Skip to content

Commit

Permalink
Release workflow. Fix patch version fragment reset after release
Browse files Browse the repository at this point in the history
  • Loading branch information
AmsterGet committed Feb 5, 2024
1 parent f943d23 commit bcaf853
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,10 @@ jobs:
git checkout develop
git merge master -Xtheirs --allow-unrelated-histories
echo "${{ steps.bumpSnapshotVersion.outputs.next-version }}-SNAPSHOT" > ${{ env.versionFileName }}
echo "patch" > ${{ env.versionFragmentFileName }}
git status
git add ${{ env.versionFileName }}
git add ${{ env.versionFragmentFileName }}
git commit -m "${{ needs.calculate-version.outputs.releaseVersion }} -> ${{ steps.bumpSnapshotVersion.outputs.next-version }}-SNAPSHOT"
git push origin develop
Expand Down

0 comments on commit bcaf853

Please sign in to comment.