Skip to content

Commit

Permalink
chore: Don't deploy during release
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Nov 28, 2024
1 parent 34c4201 commit 8cc323e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,16 @@ jobs:
- name: Create release
id: create-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
export TZ="Europe/Berlin"
git checkout -b release/${{ inputs.releaseversion }}
mvn release:prepare release:perform -B -DreleaseVersion=${{ inputs.releaseversion }} -DpushChanges=false -DskipITs=true -DlocalCheckout=true -D"arguments=-DskipITs=true"
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"
# manually push
git push --tags
git push origin release/${{ inputs.releaseversion }}
# write version info
cat <<EOF >target/config.json
{
Expand All @@ -88,6 +92,7 @@ jobs:
draft: false

- name: Conventional Changelog Action
id: create-changelog
uses: TriPSs/conventional-changelog-action@v5
with:
input-file: CHANGELOG.md
Expand Down

0 comments on commit 8cc323e

Please sign in to comment.