Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Benedict Schubert <[email protected]>
  • Loading branch information
befsch authored Feb 26, 2025
1 parent 398a128 commit ff2b7ac
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ jobs:
- name: Install Parent POM (If necessary locally)
run: mvn install -N || echo "Parent-POM already exists or is getting downloaded from repo."

# - name: Ensure Submodules Keep Own Version
# run: mvn versions:update-parent -DallowSnapshots=true

# Entscheidet, ob das `parent`-Modul oder ein Submodul gebaut wird
- name: Determine Build Scope
id: determine_scope
run: |
Expand Down Expand Up @@ -102,17 +99,17 @@ jobs:
git push origin $TAG_NAME
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
#
# - name: Release to GitHub Releases
# uses: softprops/action-gh-release@v2
# with:
# files: "target/${{ env.BUILD_MODULE }}.jar"
# body_path: "RELEASELOG.md"
# fail_on_unmatched_files: true
# tag_name: v${{ github.event.inputs.releaseVersion }}-${{ env.BUILD_MODULE }}
# generate_release_notes: true
# env:
# GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Release to GitHub Releases
uses: softprops/action-gh-release@v2
with:
files: "target/${{ env.BUILD_MODULE }}.jar"
body_path: "RELEASELOG.md"
fail_on_unmatched_files: true
tag_name: v${{ github.event.inputs.releaseVersion }}-${{ env.BUILD_MODULE }}
generate_release_notes: true
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Create Pull Request for Next Snapshot
id: create-pr
Expand Down

0 comments on commit ff2b7ac

Please sign in to comment.