Skip to content

Commit 1689c71

Browse files
Use fork of create-release action to create release on merge commit
Resolves #5.
1 parent c2a9398 commit 1689c71

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish-new-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ jobs:
3030
echo "::set-env name=RELEASE_VERSION::$VERSION"
3131
3232
- name: Create Release
33-
uses: actions/create-release@v1
33+
uses: fleskesvor/create-release@feature/support-target-commitish
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636
with:
37-
ref: master
37+
commitish: ${{ github.event.pull_request.merge_commit_sha }}
3838
tag_name: ${{ env.RELEASE_VERSION }}
3939
release_name: ${{ env.RELEASE_VERSION }}
4040

0 commit comments

Comments
 (0)