diff --git a/.github/workflows/package_release.yml b/.github/workflows/package_release.yml index f45f074..1b3f3e1 100644 --- a/.github/workflows/package_release.yml +++ b/.github/workflows/package_release.yml @@ -13,12 +13,12 @@ jobs: - uses: actions/checkout@v3 - name: Zip folder - run: zip -r BetterBags_ItemRack-${{ github.ref_name }}.zip BetterBags_ItemRack -x .git/\* .github/\* .vscode/\* \*.bat icon.png readme.md + run: cd .. && zip -r ${{ github.event.repository.name }}-${{ github.ref_name }}.zip ${{ github.event.repository.name }} -x ${{ github.event.repository.name }}/.git/\* ${{ github.event.repository.name }}/.github/\* ${{ github.event.repository.name }}/.vscode/\* \*.bat \*.png \*.md - name: Upload Release Asset uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ secrets.token }} with: - files: ./BetterBags_ItemRack-${{ github.ref_name }}.zip + files: ./${{ github.event.repository.name }}-${{ github.ref_name }}.zip generate_release_notes: true