Run workflow on tag creation and create release automatically
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
name: Stable Release
|
name: TubeArchivistMetadata Release
|
||||||
|
|
||||||
on:
|
on:
|
||||||
release:
|
push:
|
||||||
types:
|
tags:
|
||||||
- released
|
- v*
|
||||||
branches: master
|
branches: master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -54,14 +54,12 @@ jobs:
|
|||||||
dotnet-target: net6.0
|
dotnet-target: net6.0
|
||||||
version: ${VERSION}
|
version: ${VERSION}
|
||||||
|
|
||||||
- name: Upload Release
|
- name: Create release
|
||||||
uses: svenstaro/upload-release-action@v2
|
uses: ncipollo/release-action@v1
|
||||||
id: upload
|
|
||||||
with:
|
with:
|
||||||
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
file: ${{ steps.jprm.outputs.artifact }}
|
artifacts: ${{ steps.jprm.outputs.artifact }}
|
||||||
tag: ${{ github.ref }}
|
makeLatest: latest
|
||||||
asset_name: TubeArchivistMetadata-${{ env.VERSION }}.zip
|
|
||||||
body: ${{ env.RELEASE_MESSAGE }}
|
body: ${{ env.RELEASE_MESSAGE }}
|
||||||
|
|
||||||
- name: Update manifest.json
|
- name: Update manifest.json
|
||||||
|
|||||||
Reference in New Issue
Block a user