* Bump version from 5.0.13 to 5.0.13-SNAPSHOT0
* Fixed NoSuchFieldError: Class org.bukkit.enchantments.Enchantment on some mc versions (e.g. 1.20)
* Bump version from 5.0.13-SNAPSHOT0 to 5.0.13-SNAPSHOT1
* Updated ScoreboardManager to match new ScoreboardApi
* Bump version from 5.0.13-SNAPSHOT1 to 5.0.13-SNAPSHOT2
* Updated ScoreboardManager to match new ScoreboardApi
* Bump version from 5.0.13-SNAPSHOT2 to 5.0.13-SNAPSHOT3
* Changed plot distribution on team mode tries to create only full plots now
Fixed plot distribution in same cases lets spectators into the plot as member
Fixed game ending due to not enough players counted spectators
* Bump version from 5.0.13-SNAPSHOT3 to 5.0.13-SNAPSHOT4
* Moved from gradle to maven to support java 8 language level again
* Bump version from 5.0.13-SNAPSHOT4 to 5.0.13-SNAPSHOT5
* Moved from gradle to maven to support java 8 language level again
* Bump version from 5.0.13-SNAPSHOT5 to 5.0.13-SNAPSHOT6
* Update citiziens repo
* Bump version from 5.0.13-SNAPSHOT6 to 5.0.13-SNAPSHOT7
* MinimizeJar
* Bump version from 5.0.13-SNAPSHOT7 to 5.0.13-SNAPSHOT8
* Fixed ${description} invalid
* Bump version from 5.0.13-SNAPSHOT8 to 5.0.13-SNAPSHOT9
* Updated CHANGELOG.md
* Bump version from 5.0.13-SNAPSHOT9 to 5.0.13-SNAPSHOT10
---------
Co-authored-by: version-bump[github-action] <41898282+version-bump[github-action]@users.noreply.github.com>
55 lines
1.6 KiB
YAML
55 lines
1.6 KiB
YAML
name: Bump and Publish Development Branch
|
|
|
|
on:
|
|
push:
|
|
branches: [ development ]
|
|
workflow_dispatch:
|
|
jobs:
|
|
bump:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Latest Commit
|
|
uses: actions/checkout@v4.2.2
|
|
- name: Bump Version
|
|
id: bump
|
|
uses: Plugily-Projects/version-bump-action@v10
|
|
with:
|
|
github-token: ${{ secrets.github_token }}
|
|
auto-version-bump: true
|
|
- name: Print Version
|
|
run: "echo 'New Version: ${{steps.bump.outputs.version}}'"
|
|
publish:
|
|
needs: bump
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout Latest Commit
|
|
uses: actions/checkout@v4.2.2
|
|
with:
|
|
ref: 'development'
|
|
- name: Set up JDK
|
|
uses: actions/setup-java@v4.6.0
|
|
with:
|
|
distribution: 'temurin'
|
|
java-version: '21'
|
|
java-package: jdk
|
|
- name: Set up Maven
|
|
uses: stCarolas/setup-maven@v5
|
|
with:
|
|
maven-version: 3.8.2
|
|
- name: Cache
|
|
uses: actions/cache@v4.2.2
|
|
with:
|
|
path: ~/.m2/repository
|
|
key: maven-${{ hashFiles('**/pom.xml') }}
|
|
restore-keys: maven-
|
|
- name: Publish with Maven
|
|
uses: s4u/maven-settings-action@v3.1.0
|
|
with:
|
|
servers: |
|
|
[{
|
|
"id": "Snapshot",
|
|
"username": "${{ secrets.SNAPSHOTSUSERNAME }}",
|
|
"password": "${{ secrets.SNAPSHOTSPASSWORD }}"
|
|
}]
|
|
- run: mvn clean verify compile package site:site javadoc:javadoc javadoc:jar deploy -DaltDeploymentRepository=Snapshot::https://maven.plugily.xyz/snapshots -f pom.xml
|