Merge pull request #50 from grimsi/gh34_fixCI

Fix CI Release pipeline
This commit is contained in:
Simon
2022-10-13 18:51:13 +02:00
committed by GitHub
2 changed files with 8 additions and 5 deletions
+2 -4
View File
@@ -33,16 +33,13 @@ jobs:
distribution: 'temurin'
cache: 'maven'
- name: Maven build
run: mvn --batch-mode --update-snapshots package -Dmaven.test.skip=true
- name: Configure Git User
run: |
git config user.email "actions@github.com"
git config user.name "GitHub Actions"
- name: Maven Release
run: mvn release:prepare release:perform -B -s .maven_settings.xml -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -DdevelopmentVersion=${{ github.event.inputs.developmentVersion }}
run: mvn release:prepare release:perform -B -s .maven_settings.xml -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -DdevelopmentVersion=${{ github.event.inputs.developmentVersion }} -Darguments="-Dmaven.deploy.skip=true -Dmaven.test.skip=true"
env:
GITHUB_ACTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ github.token }}
@@ -59,6 +56,7 @@ jobs:
with:
repo_token: ${{ github.token }}
prerelease: false
automatic_release_tag: v${{ github.event.inputs.releaseVersion }}
files: |
LICENSE.md
backend/target/gameyfin-*.jar
+6 -1
View File
@@ -36,7 +36,12 @@
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<scmCommentPrefix>[ci skip]</scmCommentPrefix>
<scmCommentPrefix>[ci skip] </scmCommentPrefix>
<tagNameFormat>v@{project.version}</tagNameFormat>
<checkModificationExcludes>
<checkModificationExclude>frontend/package.json</checkModificationExclude>
<checkModificationExclude>frontend/package-lock.json</checkModificationExclude>
</checkModificationExcludes>
</configuration>
</plugin>
</plugins>