mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-13 16:40:01 +00:00
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user