Skip to content

Commit

Permalink
chore: Create PR finally only
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Nov 28, 2024
1 parent 5454fb9 commit 104bfcb
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
run: |
export TZ="Europe/Berlin"
git checkout -b release/${{ inputs.releaseversion }}
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"
mvn release:prepare release:perform -B -DreleaseVersion=${{ inputs.releaseversion }} -DpushChanges=false -DskipTests=true -DskipITs=true -D"arguments=-Dmaven.deploy.skip=true -DskipTests=true -DskipITs=true"
# manually push
git push --tags
git push origin release/${{ inputs.releaseversion }}
Expand All @@ -70,6 +70,19 @@ jobs:
}
EOF
- name: Conventional Changelog Action
id: create-changelog
uses: TriPSs/conventional-changelog-action@v5
with:
input-file: CHANGELOG.md
github-token: ${{ secrets.GITHUB_TOKEN }}
version-file: target/config.json
pre-release: true
skip-bump: true
skip-tag: true
skip-on-empty: true
tag-prefix: 'v'


- name: Create Pull Request
id: create-pr
Expand All @@ -88,16 +101,3 @@ jobs:
release
assignees: hypery2k
draft: false

- name: Conventional Changelog Action
id: create-changelog
uses: TriPSs/conventional-changelog-action@v5
with:
input-file: CHANGELOG.md
github-token: ${{ secrets.GITHUB_TOKEN }}
version-file: target/config.json
pre-release: true
skip-bump: true
skip-tag: true
skip-on-empty: true
tag-prefix: 'v'

0 comments on commit 104bfcb

Please sign in to comment.