Skip to content

Commit 34395ea

Browse files
author
Dmitry Kaznacheev
committed
Update workflow
1 parent 53b4071 commit 34395ea

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,13 @@ jobs:
1616
- name: Build and publish to folder
1717
shell: pwsh
1818
run: ./publish.ps1
19+
20+
- name: Get the version
21+
id: version
22+
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3)
1923

2024
- name: Create release
2125
uses: ncipollo/release-action@v1
2226
with:
23-
name: Release ${{ github.ref }}
24-
artifacts: "release/*"
27+
name: Release ${{ steps.version.outputs.VERSION }}
28+
artifacts: "release/*"`

0 commit comments

Comments
 (0)