Skip to content

Commit 813cdc0

Browse files
authored
ci(releaser): fix too long tagname (#7)
1 parent f8f1f09 commit 813cdc0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/releaser.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v3
13+
- id: sha
14+
run: echo "sha=${GITHUB_SHA::7}" >> $GITHUB_OUTPUT
1315
- uses: softprops/action-gh-release@v1
1416
with:
15-
tag_name: ${{ github.sha }}
16-
name: Release ${{ github.sha }}
17-
body: auto-generated release for commit ${{ github.sha }}
17+
tag_name: ${{ steps.sha.outputs.sha }}
18+
name: Release ${{ steps.sha.outputs.sha }}
19+
body: auto-generated release for commit ${{ steps.sha.outputs.sha }}

0 commit comments

Comments
 (0)