mirror of
https://github.com/knah/VRCMelonAssistant.git
synced 2024-05-22 05:12:58 +12:00
properly resolve version for release
This commit is contained in:
parent
7f94b2bf33
commit
84382c48b2
7
.github/workflows/dotnet.yml
vendored
7
.github/workflows/dotnet.yml
vendored
|
@ -24,11 +24,16 @@ jobs:
|
|||
with:
|
||||
name: ModAssistant-${{ github.sha }}
|
||||
path: ./ModAssistant/bin/Release/
|
||||
- name: Extract Release Version
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
id: get_version
|
||||
shell: bash
|
||||
run: echo ::set-output name=version::${GITHUB_REF#refs/tags/v}
|
||||
- name: Release
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
uses: softprops/action-gh-release@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
name: Mod Assistant ${{ github.ref }}
|
||||
name: Mod Assistant ${{ steps.get_version.outputs.version }}
|
||||
files: ./ModAssistant/bin/Release/ModAssistant.exe
|
||||
|
|
Loading…
Reference in a new issue