Skip to content

Commit

Permalink
ci(release): auto generate gh release
Browse files Browse the repository at this point in the history
  • Loading branch information
grieve54706 committed Dec 18, 2024
1 parent 9c2d761 commit 7943235
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/stable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,21 @@ jobs:
./mvnw release:prepare -B -DreleaseVersion=${version_number}
fi
git push
git push origin $version_number
echo "version_number=$version_number" >> $GITHUB_OUTPUT
outputs:
next_version: ${{ steps.next_version.outputs.value }}
maven_version: ${{ steps.maven_prepare_release.outputs.version_number }}
gh-releasse:
needs: prepare-version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ needs.prepare-version.outputs.next_version }}
generate_release_notes: true
make_latest: "true"
stable-release-wren-engine:
needs: prepare-version
runs-on: ubuntu-latest
Expand All @@ -78,7 +88,7 @@ jobs:
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
distribution: "temurin'
java-version: '21'
cache: 'maven'
- name: Build
Expand Down

0 comments on commit 7943235

Please sign in to comment.