prepare for the next release

- add release.sh script to automate most of the process
- minor revisions to the unreleased changelog
- migrate away from deprecated release asset action
This commit is contained in:
Zachary Snow
2024-05-06 22:18:31 -04:00
parent 4dc672bbfa
commit 7cf4944595
3 changed files with 49 additions and 10 deletions
+5 -7
View File
@@ -90,6 +90,8 @@ jobs:
make test
release:
permissions:
contents: write
runs-on: ubuntu-22.04
strategy:
matrix:
@@ -107,11 +109,7 @@ jobs:
- name: Create ZIP
run: zip -r sv2v-${{ matrix.name }} ./sv2v-${{ matrix.name }}
- name: Upload Release Asset
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./sv2v-${{ matrix.name }}.zip
asset_name: sv2v-${{ matrix.name }}.zip
asset_content_type: application/zip
GH_TOKEN: ${{ github.token }}
GH_REPO: ${{ github.repository }}
run: gh release upload ${{ github.event.release.tag_name }} sv2v-${{ matrix.name }}.zip