Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Updating GA to parse version (#1101)

Robbie Davis84697a40cf10
diff --git a/.github/workflows/sonar-scan.yml b/.github/workflows/sonar-scan.yml
index a347a3f36..ce338ac37 100644
--- a/.github/workflows/sonar-scan.yml
+++ b/.github/workflows/sonar-scan.yml
@@ -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}}"