mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-16 16:20:04 +00:00
@@ -33,16 +33,13 @@ jobs:
|
|||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
cache: 'maven'
|
cache: 'maven'
|
||||||
|
|
||||||
- name: Maven build
|
|
||||||
run: mvn --batch-mode --update-snapshots package -Dmaven.test.skip=true
|
|
||||||
|
|
||||||
- name: Configure Git User
|
- name: Configure Git User
|
||||||
run: |
|
run: |
|
||||||
git config user.email "actions@github.com"
|
git config user.email "actions@github.com"
|
||||||
git config user.name "GitHub Actions"
|
git config user.name "GitHub Actions"
|
||||||
|
|
||||||
- name: Maven Release
|
- 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:
|
env:
|
||||||
GITHUB_ACTOR: ${{ github.actor }}
|
GITHUB_ACTOR: ${{ github.actor }}
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
@@ -59,6 +56,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repo_token: ${{ github.token }}
|
repo_token: ${{ github.token }}
|
||||||
prerelease: false
|
prerelease: false
|
||||||
|
automatic_release_tag: v${{ github.event.inputs.releaseVersion }}
|
||||||
files: |
|
files: |
|
||||||
LICENSE.md
|
LICENSE.md
|
||||||
backend/target/gameyfin-*.jar
|
backend/target/gameyfin-*.jar
|
||||||
|
|||||||
@@ -36,7 +36,12 @@
|
|||||||
<artifactId>maven-release-plugin</artifactId>
|
<artifactId>maven-release-plugin</artifactId>
|
||||||
<version>2.5.3</version>
|
<version>2.5.3</version>
|
||||||
<configuration>
|
<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>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
|
|||||||
Reference in New Issue
Block a user