Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate release notes as a part of release workflow #1255

Merged
merged 2 commits into from
Jul 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 23 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- '*'

jobs:
build:
release:
name: Deploy
runs-on: ubuntu-latest
steps:
Expand All @@ -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
Expand All @@ -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: |
Expand All @@ -63,4 +56,23 @@ jobs:
git commit gradle.properties -m "Prepare development of $newVersion"
git push https://gluon-bot:$PAT@github.com/$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 }}
Loading