Skip to content

Commit

Permalink
Merge pull request #62 from Banno/fix-changelog
Browse files Browse the repository at this point in the history
Fix changelog
  • Loading branch information
joshschriever authored Aug 25, 2020
2 parents f6c8a61 + 4e6251e commit e753609
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,25 +37,6 @@ jobs:
tag: ${{ env.newTag }}
message: ${{ env.newTag }}

- name: Generate Changelog
id: generate_changelog
uses: nblagoev/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
base-ref: ${{ env.previousTag }}
head-ref: ${{ env.newTag }}

- name: Draft Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.newTag }}
release_name: ${{ env.newTag }}
body: ${{steps.generate_changelog.outputs.result}}
draft: true

- id: next_version
uses: jessicalostinspace/[email protected]
with:
Expand All @@ -76,3 +57,22 @@ jobs:
with:
add: gordon-plugin/gradle.properties
message: Bump version to ${{steps.next_version.outputs.bumped-semantic-version}}

- name: Generate Changelog
id: generate_changelog
uses: nblagoev/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
base-ref: ${{ env.previousTag }}
head-ref: HEAD

- name: Draft Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.newTag }}
release_name: ${{ env.newTag }}
body: ${{steps.generate_changelog.outputs.result}}
draft: true
2 changes: 1 addition & 1 deletion gordon-plugin/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
group=com.banno.gordon
version=1.4.5
version=1.5.0

0 comments on commit e753609

Please sign in to comment.