-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generate release notes as a part of release workflow (#1255)
- Loading branch information
1 parent
8e721fa
commit 7e7e022
Showing
1 changed file
with
23 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ on: | |
- '*' | ||
|
||
jobs: | ||
build: | ||
release: | ||
name: Deploy | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
@@ -16,8 +16,9 @@ jobs: | |
persist-credentials: false | ||
|
||
- name: Setup Java 11 | ||
uses: actions/setup-java@v1 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: 11 | ||
|
||
- name: Grant execute permission for gradlew | ||
|
@@ -44,14 +45,6 @@ jobs: | |
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} | ||
GPG_KEYNAME: ${{ secrets.GPG_KEYNAME }} | ||
|
||
- name: Release Client plugins | ||
if: steps.deploy.outputs.exit_code == 0 | ||
run: | | ||
TAG=${GITHUB_REF/refs\/tags\//} | ||
bash $GITHUB_WORKSPACE/.github/scripts/release-plugins.sh $TAG $PAT | ||
env: | ||
PAT: ${{ secrets.PAT }} | ||
|
||
- name: Commit next development version | ||
if: steps.deploy.outputs.exit_code == 0 | ||
run: | | ||
|
@@ -63,4 +56,23 @@ jobs: | |
git commit gradle.properties -m "Prepare development of $newVersion" | ||
git push https://gluon-bot:[email protected]/$GITHUB_REPOSITORY HEAD:master | ||
env: | ||
PAT: ${{ secrets.PAT }} | ||
PAT: ${{ secrets.PAT }} | ||
|
||
release-notes: | ||
runs-on: ubuntu-latest | ||
needs: [ release ] | ||
steps: | ||
- name: Create GitHub release | ||
uses: softprops/action-gh-release@v2 | ||
with: | ||
generate_release_notes: true | ||
|
||
release-gluonfx-plugins: | ||
runs-on: ubuntu-latest | ||
needs: [ release ] | ||
steps: | ||
- run: | | ||
TAG=${GITHUB_REF/refs\/tags\//} | ||
bash $GITHUB_WORKSPACE/.github/scripts/release-plugins.sh $TAG $PAT | ||
env: | ||
PAT: ${{ secrets.PAT }} |