mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-07 03:43:04 +02:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user