Skip to content

Commit

Permalink
Update create-github-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RestoreMonarchy authored Dec 10, 2023
1 parent 9cba5b6 commit d789f74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/create-github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
mv ./${{ github.event.repository.name }}/bin/Release/net48/${{ github.event.repository.name }}.dll ./template/Plugins/
mv ./${{ github.event.repository.name }}/bin/Release/net48/*.dll ./template/Libraries/
cd ./template/
zip -qr ./../${{ github.event.repository.name }}-v${{ steps.teleportation.package_version.version }}.zip *
zip -qr ./../${{ github.event.repository.name }}-v${{ steps.test.package_version.version }}.zip *
shell: bash

- name: Create release
Expand All @@ -49,7 +49,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.teleportation.package_version.version }}
release_name: "${{ github.event.repository.name }} v${{ steps.teleportation.package_version.version }}"
release_name: "${{ github.event.repository.name }} v${{ steps.test.package_version.version }}"
draft: true
prerelease: false

Expand All @@ -59,7 +59,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./${{ github.event.repository.name }}-v${{ steps.teleportation.package_version.version }}.zip
asset_name: "/${{ github.event.repository.name }}-v${{ steps.teleportation.package_version.version }}.zip"
asset_path: ./${{ github.event.repository.name }}-v${{ steps.test.package_version.version }}.zip
asset_name: "/${{ github.event.repository.name }}-v${{ steps.test.package_version.version }}.zip"
asset_content_type: application/zip

0 comments on commit d789f74

Please sign in to comment.