Skip to content

Commit 64a1d97

Browse files
authored
Merge pull request #12 from dotnetprog/feature/CreateReleaseOntagWorkflow
fix ref
2 parents c77b174 + 92b9ece commit 64a1d97

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci-tag-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
path: '${{ github.workspace }}/configurationmigrationtool'
5151
- name: zip artifact # This would actually build your project, using zip for an example artifact
5252
run: |
53-
zip -r configurationmigrationtool${{ github.ref }}.zip configurationmigrationtool
53+
zip -r configurationmigrationtool${{ github.ref_name }}.zip configurationmigrationtool
5454
- name: Create Release
5555
id: create_release
5656
uses: actions/create-release@v1
@@ -68,6 +68,6 @@ jobs:
6868
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6969
with:
7070
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
71-
asset_path: ./configurationmigrationtool${{ github.ref }}.zip
72-
asset_name: configurationmigrationtool${{ github.ref }}.zip
71+
asset_path: ./configurationmigrationtool${{ github.ref_name }}.zip
72+
asset_name: configurationmigrationtool${{ github.ref_name }}.zip
7373
asset_content_type: application/zip

0 commit comments

Comments
 (0)