Skip to content

Commit

Permalink
chore: fix use correct commit for release
Browse files Browse the repository at this point in the history
  • Loading branch information
blockbasti committed Feb 9, 2021
1 parent 9dc08a8 commit e0e1a0d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,19 @@ jobs:
env:
BUILD_TOOLS_VERSION: "30.0.2"

- name: Get last commit id
if: ${{ steps.changelog.outputs.skipped == 'false' }}
id: get_commit
run: echo "::set-output name=sha::$(git rev-parse HEAD)"

- name: Create Release
id: create_release
uses: actions/create-release@v1
if: ${{ steps.changelog.outputs.skipped == 'false' }}
env:
GITHUB_TOKEN: ${{ secrets.github_token }}
with:
commitish: ${{ steps.get_commit.outputs.sha }}
tag_name: ${{ steps.changelog.outputs.tag }}
release_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.changelog }}
Expand Down

0 comments on commit e0e1a0d

Please sign in to comment.