Skip to content

Commit d45baa3

Browse files
authored
Update build.yml
1 parent 8f4dcc7 commit d45baa3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ jobs:
1919
name: Generate Version
2020
runs-on: ubuntu-latest
2121
outputs:
22-
version: ${{ steps.version.outputs.version }}
22+
new_tag: ${{ steps.tag_version.outputs.new_tag }}
2323
steps:
2424
- uses: actions/checkout@v4
2525
with:
2626
fetch-depth: 0
2727

28-
- name: Generate Version
29-
id: version
28+
- name: Bump version and push tag
29+
id: tag_version
3030
uses: mathieudutour/[email protected]
3131
with:
3232
github_token: ${{ secrets.GITHUB_TOKEN }}
@@ -117,8 +117,8 @@ jobs:
117117
- name: Create Release
118118
uses: softprops/action-gh-release@v1
119119
with:
120-
tag_name: v${{ needs.version.outputs.version }}
121-
name: Release v${{ needs.version.outputs.version }}
120+
tag_name: ${{ needs.version.outputs.new_tag }}
121+
name: Release ${{ needs.version.outputs.new_tag }}
122122
files: |
123123
popcorn-cli-linux.tar.gz/popcorn-cli-linux.tar.gz
124124
popcorn-cli-windows.zip/popcorn-cli-windows.zip

0 commit comments

Comments
 (0)