Skip to content

Commit ce22716

Browse files
José Peredajperedadnr
José Pereda
andauthored
build: Set release version, but without commit to master (#547)
Co-authored-by: jose.pereda <jose.pereda@gluonhq.com>
1 parent fbcdf83 commit ce22716

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/release.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -122,13 +122,9 @@ jobs:
122122
- name: Download all build artifacts
123123
uses: actions/download-artifact@v2
124124

125-
- name: Version
125+
- name: Set Release Version
126126
run: |
127-
mvn -B -ntp versions:set versions:commit -DnewVersion=${{ needs.precheck.outputs.PROJECT_VERSION }}
128-
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
129-
git config --global user.name "GitHub Action"
130-
git commit -a -m "Releasing version ${{ needs.precheck.outputs.PROJECT_VERSION }}"
131-
git push origin master
127+
mvn -B -ntp -q versions:set -DnewVersion=${{ needs.precheck.outputs.PROJECT_VERSION }} -DgenerateBackupPoms=false
132128
133129
- name: Release with JReleaser
134130
env:

0 commit comments

Comments
 (0)