Skip to content

Commit

Permalink
Use versioned releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Janmm14 committed Oct 30, 2022
1 parent 2ac3256 commit 01410e7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/automatic_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
java-version: '8'
distribution: 'zulu'
java-package: jdk+fx
- name: Set Release version env variable
run: echo "RELEASE_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
- name: Cache local Maven repository
uses: actions/cache@v2
with:
Expand All @@ -34,9 +36,9 @@ jobs:
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
automatic_release_tag: "${{ env.RELEASE_VERSION }}"
prerelease: false
title: "Latest Build"
title: "v${{ env.RELEASE_VERSION }}"
files: |
LICENSE
target/deobfuscator-gui.jar

0 comments on commit 01410e7

Please sign in to comment.