Fix passing version to maven in workflow

This commit is contained in:
RatzzFatzz
2025-12-16 23:11:35 +01:00
parent cc23d8c5bc
commit fa572030da
3 changed files with 6 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ jobs:
- name: Build with Maven
run: |
mvn clean package --file pom.xml -P portable -Drevision=${{ steps.get_version.outputs.VERSION }}
mvn clean package --file pom.xml -P portable -Drevision="${{ steps.get_version.outputs.VERSION }}"
cp target/M*.{zip,tar} artifacts/
- name: Upload artifacts
@@ -88,7 +88,7 @@ jobs:
- name: Build with Maven
run: |
mvn clean package --file pom.xml -P linux -Drevision=${{ steps.get_version.outputs.VERSION }}
mvn clean package --file pom.xml -P debian -Drevision="${{ steps.get_version.outputs.VERSION }}"
cp target/M*.deb artifacts/
- name: Upload artifacts
@@ -135,7 +135,7 @@ jobs:
run: mkdir artifacts
- name: Build with Maven
run: mvn clean package --file pom.xml -P windows -Drevision=${{ steps.get_version.outputs.VERSION }}
run: mvn clean package --file pom.xml -P windows -Drevision="${{ steps.get_version.outputs.VERSION }}"
- name: Upload artifacts
uses: AButler/upload-release-assets@v3.0

View File

@@ -147,7 +147,7 @@
</build>
</profile>
<profile>
<id>linux</id>
<id>debian</id>
<build>
<resources>
<resource>

View File

@@ -1,5 +1,5 @@
Package: ${project.artifactId}
Version: ${project.version}
Package: [[artifactId]]
Version: [[version]]
Section: misc
Priority: optional
Architecture: all