GitHub Actions - Release - separate changelog related job from the release

pull/15/head v0.3.0
Jakub Chrzanowski 4 years ago committed by Jakub Chrzanowski
parent 2fc4b4cf60
commit 6fe45d61b1

@ -33,6 +33,28 @@ jobs:
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
run: ./gradlew publishPlugin
# Patch changelog, commit and push to the current repository
changelog:
name: Update Changelog
runs-on: ubuntu-latest
steps:
# Check out current repository
- name: Fetch Sources
uses: actions/checkout@v2
with:
ref: ${{ github.event.release.tag_name }}
# Setup Java 1.8 environment for the next steps
- name: Setup Java
uses: actions/setup-java@v1
with:
java-version: 1.8
# Publish the plugin to the Marketplace
- name: Patch Changelog
run: ./gradlew patchChangelog
# Commit patched Changelog
- name: Commit files
run: |

@ -10,6 +10,7 @@
- Update `org.jetbrains.changelog` dependency to `v0.3.3`
- Update Gradle Wrapper to `v6.5.1`
- Run GitHub Actions Release workflow on `prereleased` event
- GitHub Actions - Release - separate changelog related job from the release
### Fixed
- Remove vendor website from `plugin.xml`

Loading…
Cancel
Save