Skip to content

Commit 46e9f74

Browse files
authored
Update create-release-on-version-update.yml
1 parent 8518e03 commit 46e9f74

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/create-release-on-version-update.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Create archive
5858
if: env.version_updated == 'true'
5959
run: |
60-
zip -r DiscordAPI-${VERSION}.zip .
60+
zip -r DiscordAPI.zip . -x '.git/*'
6161
6262
# Create the changelog URL if the version has been updated
6363
- name: Generate changelog URL
@@ -93,6 +93,6 @@ jobs:
9393
uses: actions/upload-release-asset@v1
9494
with:
9595
upload_url: ${{ steps.create_release.outputs.upload_url }}
96-
asset_path: DiscordAPI-${VERSION}.zip
97-
asset_name: DiscordAPI-${VERSION}.zip
96+
asset_path: DiscordAPI.zip
97+
asset_name: DiscordAPI.zip
9898
asset_content_type: application/zip

0 commit comments

Comments
 (0)