Updating GA to parse version (#1101)

This commit is contained in:
Robbie Davis 2022-02-21 15:03:17 -05:00 committed by GitHub
parent fe6308f733
commit 84697a40cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -183,6 +183,14 @@ jobs:
with:
proj-path: Kavita.Common/Kavita.Common.csproj
- name: Parse Version
run: |
version='${{steps.get-version.outputs.assembly-version}}'
newVersion=${version%.*}
echo $newVersion
echo "::set-output name=VERSION::$newVersion"
id: parse-version
- name: Echo csproj version
run: echo "${{steps.get-version.outputs.assembly-version}}"