Skip to content

Commit 1e7f023

Browse files
committed
ci: get-tag
1 parent acb8cd2 commit 1e7f023

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/pkg.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,19 @@ jobs:
3131
name: release
3232
path: app-config-main/pkg/*
3333

34+
- uses: olegtarasov/[email protected]
35+
id: tagName
36+
3437
- id: create_release
3538
uses: actions/create-release@v1
3639
env:
3740
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3841
with:
39-
tag_name: ${{ github.ref }}
40-
release_name: Release ${{ github.ref }}
42+
tag_name: ${{ steps.tagName.outputs.tag }}
43+
release_name: Release ${{ steps.tagName.outputs.tag }}
4144
draft: false
4245
prerelease: false
46+
body: 'See our [changelog](https://app-config.dev/release-notes.html)'
4347

4448
- uses: actions/upload-release-asset@v1
4549
env:

0 commit comments

Comments
 (0)