-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
91c966a
commit 2169a9f
Showing
1 changed file
with
11 additions
and
9 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 |
---|---|---|
|
@@ -40,20 +40,22 @@ jobs: | |
run: | | ||
echo "Version in package.json has not changed. Skipping." | ||
- name: "Build Changelog" | ||
id: build_changelog | ||
uses: mikepenz/release-changelog-builder-action@{latest-release} | ||
- name: Generate Changelog | ||
uses: Bullrich/[email protected] | ||
id: changelog | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
REPO: ${{ github.repository }} | ||
|
||
- name: Publish Github Release | ||
- name: Create Release | ||
if: steps.publish.outputs.type != 'none' | ||
uses: elprans/gh-action-create-release@master | ||
id: create_release | ||
uses: actions/create-release@latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token | ||
with: | ||
tag_name: v${{ steps.publish.outputs.version }} | ||
release_name: v${{ steps.publish.outputs.version }} | ||
target: ${{ github.event.push.ref }} | ||
body: "${{ steps.build_changelog.outputs.changelog }}" | ||
body: | | ||
${{ steps.Changelog.outputs.changelog }} | ||
draft: true | ||
prerelease: false |