Skip to content

Commit 8cc323e

Browse files
committed
chore: Don't deploy during release
1 parent 34c4201 commit 8cc323e

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,16 @@ jobs:
5656
5757
5858
- name: Create release
59+
id: create-release
5960
env:
6061
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6162
run: |
6263
export TZ="Europe/Berlin"
6364
git checkout -b release/${{ inputs.releaseversion }}
64-
mvn release:prepare release:perform -B -DreleaseVersion=${{ inputs.releaseversion }} -DpushChanges=false -DskipITs=true -DlocalCheckout=true -D"arguments=-DskipITs=true"
65+
mvn release:prepare release:perform -B -DreleaseVersion=${{ inputs.releaseversion }} -DpushChanges=false -DskipTests=true -DskipITs=true -DlocalCheckout=true -D"arguments=-Dmaven.deploy.skip=true -DskipTests=true -DskipITs=true"
66+
# manually push
67+
git push --tags
68+
git push origin release/${{ inputs.releaseversion }}
6569
# write version info
6670
cat <<EOF >target/config.json
6771
{
@@ -88,6 +92,7 @@ jobs:
8892
draft: false
8993

9094
- name: Conventional Changelog Action
95+
id: create-changelog
9196
uses: TriPSs/conventional-changelog-action@v5
9297
with:
9398
input-file: CHANGELOG.md

0 commit comments

Comments
 (0)