Skip to content

Commit 03e8e56

Browse files
committed
change tag extraction
1 parent 4a649bc commit 03e8e56

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@ jobs:
1515
run: echo ::set-output name=tag::${GITHUB_REF#refs/*/}
1616
- name: release
1717
uses: svenstaro/upload-release-action@2.2.1
18-
env:
19-
RELEASE_VERSION: ${{ steps.vars.outputs.tag }}
2018
with:
2119
repo_token: ${{ secrets.GITHUB_TOKEN }}
2220
file: zola-shortcodes-netlify-cms.js
23-
asset_name: "zola-shortcodes-netlify-cms-${RELEASE_VERSION}.js"
21+
asset_name: "zola-shortcodes-netlify-cms-${{ steps.vars.outputs.tag }}.js"
2422
tag: ${{ github.ref }}
2523
body: "No defference between script on the release and raw one in the repository"
2624
overwrite: true

0 commit comments

Comments
 (0)