mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2026-12-03 19:52:11 +00:00
Merge master into PR 267 and prepare master releases
This commit is contained in:
commit
3c94704a03
6 files changed
+11
-9
No files matched your search
@@ -1,7 +1,7 @@
|
|||||||
name: Release BetterRTP Maven version
|
name: Release BetterRTP Maven version
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [online-editor]
|
branches: [master]
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@@ -10,7 +10,7 @@ concurrency:
|
|||||||
cancel-in-progress: false
|
cancel-in-progress: false
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
if: github.ref == 'refs/heads/online-editor'
|
if: github.ref == 'refs/heads/master'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
@@ -18,4 +18,6 @@ jobs:
|
|||||||
run: cp settings.xml $HOME/.m2/settings.xml
|
run: cp settings.xml $HOME/.m2/settings.xml
|
||||||
|
|
||||||
- name: Build and test with Maven
|
- name: Build and test with Maven
|
||||||
run: mvn -B -pl :BetterRTP test
|
run: |
|
||||||
|
mvn -B -pl :BetterRTP verify
|
||||||
|
mvn -B -f tests/editor/pom.xml verify
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
<groupId>me.SuperRonanCraft</groupId>
|
<groupId>me.SuperRonanCraft</groupId>
|
||||||
<artifactId>BetterRTP</artifactId>
|
<artifactId>BetterRTP</artifactId>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<version>3.6.14</version>
|
<version>3.6.15</version>
|
||||||
|
|
||||||
<!-- Upload patches to https://repo.ronanplugins.com/#/ -->
|
<!-- Upload patches to https://repo.ronanplugins.com/#/ -->
|
||||||
|
|
||||||
|
|||||||
@@ -169,7 +169,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>me.SuperRonanCraft</groupId>
|
<groupId>me.SuperRonanCraft</groupId>
|
||||||
<artifactId>BetterRTP</artifactId>
|
<artifactId>BetterRTP</artifactId>
|
||||||
<version>3.6.13</version>
|
<version>3.6.15</version>
|
||||||
<scope>provided</scope>
|
<scope>provided</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- ProtocolLib -->
|
<!-- ProtocolLib -->
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ BetterRTP uses and is compiled with the following libraries:
|
|||||||
|
|
||||||
From this directory, run `mvn clean package` to build BetterRTP followed by BetterRTP Addons. Maven resolves Addons against the BetterRTP built in the same run; a separate `install` step is unnecessary.
|
From this directory, run `mvn clean package` to build BetterRTP followed by BetterRTP Addons. Maven resolves Addons against the BetterRTP built in the same run; a separate `install` step is unnecessary.
|
||||||
|
|
||||||
- BetterRTP JAR: `dist/BetterRTP-3.6.13.jar`
|
- BetterRTP JAR: `dist/BetterRTP-3.6.15.jar`
|
||||||
- Addons JAR: `dist/BetterRTPAddons-1.8.10.jar`
|
- Addons JAR: `dist/BetterRTPAddons-1.8.10.jar`
|
||||||
|
|
||||||
Both server-ready JARs are collected in `dist/`. `mvn clean` removes each selected plugin’s previous JARs from this folder; intermediate build files stay in `target/`. The `dev` profile still outputs directly to its configured server plugins folder.
|
Both server-ready JARs are collected in `dist/`. `mvn clean` removes each selected plugin’s previous JARs from this folder; intermediate build files stay in `target/`. The `dev` profile still outputs directly to its configured server plugins folder.
|
||||||
@@ -95,10 +95,10 @@ Use the website's schema-version database migrations before deploying these clie
|
|||||||
|
|
||||||
### Automatic Maven releases
|
### Automatic Maven releases
|
||||||
|
|
||||||
`.github/workflows/release.yml` runs on pushes to `online-editor` (or manually from
|
`.github/workflows/release.yml` runs on pushes to `master` (or manually from
|
||||||
that branch). It reads only the Core POM version, builds and verifies BetterRTP Core,
|
that branch). It reads only the Core POM version, builds and verifies BetterRTP Core,
|
||||||
runs the editor tests, and publishes a stable GitHub release with exactly one plugin
|
runs the editor tests, and publishes a stable GitHub release with exactly one plugin
|
||||||
JAR. For the current Core POM the title is `BetterRTP 3.6.13` and the tag is `v3.6.13`.
|
JAR. For the current Core POM the title is `BetterRTP 3.6.15` and the tag is `v3.6.15`.
|
||||||
This single-JAR release is compatible with the website's GitHub release importer.
|
This single-JAR release is compatible with the website's GitHub release importer.
|
||||||
|
|
||||||
Both Core and Addons editor-schema JSON files remain attached for the website editor.
|
Both Core and Addons editor-schema JSON files remain attached for the website editor.
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>me.SuperRonanCraft</groupId>
|
<groupId>me.SuperRonanCraft</groupId>
|
||||||
<artifactId>BetterRTP-build</artifactId>
|
<artifactId>BetterRTP-build</artifactId>
|
||||||
<version>3.6.13</version>
|
<version>3.6.15</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<modules>
|
<modules>
|
||||||
<module>BetterRTP-Core</module>
|
<module>BetterRTP-Core</module>
|
||||||
|
|||||||
Reference in new issue
Block a user