Skip to content

Commit c9aacee

Browse files
fix for release github action
1 parent d85be03 commit c9aacee

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,8 @@ jobs:
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v2
15-
16-
- name: Get the version
17-
id: get_version
18-
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
15+
with:
16+
ref: ${{ github.event.workflow_run.head_branch }}
1917

2018
- name: extract
2119
uses: shrink/actions-docker-extract@v1
@@ -29,5 +27,4 @@ jobs:
2927
with:
3028
files: ${{ steps.extract.outputs.destination }}/test
3129
generate_release_notes: true
32-
draft: true
33-
tag_name: ${{ steps.get_version.outputs.VERSION }}
30+
draft: true

0 commit comments

Comments
 (0)