mirror of
https://github.com/RonanPlugins/BetterRTP.git
synced 2026-11-28 00:34:36 +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
|
||||
on:
|
||||
push:
|
||||
branches: [online-editor]
|
||||
branches: [master]
|
||||
workflow_dispatch:
|
||||
permissions:
|
||||
contents: write
|
||||
@@ -10,7 +10,7 @@ concurrency:
|
||||
cancel-in-progress: false
|
||||
jobs:
|
||||
release:
|
||||
if: github.ref == 'refs/heads/online-editor'
|
||||
if: github.ref == 'refs/heads/master'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
@@ -18,4 +18,6 @@ jobs:
|
||||
run: cp settings.xml $HOME/.m2/settings.xml
|
||||
|
||||
- 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>
|
||||
<artifactId>BetterRTP</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<version>3.6.14</version>
|
||||
<version>3.6.15</version>
|
||||
|
||||
<!-- Upload patches to https://repo.ronanplugins.com/#/ -->
|
||||
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
<dependency>
|
||||
<groupId>me.SuperRonanCraft</groupId>
|
||||
<artifactId>BetterRTP</artifactId>
|
||||
<version>3.6.13</version>
|
||||
<version>3.6.15</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- 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.
|
||||
|
||||
- BetterRTP JAR: `dist/BetterRTP-3.6.13.jar`
|
||||
- BetterRTP JAR: `dist/BetterRTP-3.6.15.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.
|
||||
@@ -95,10 +95,10 @@ Use the website's schema-version database migrations before deploying these clie
|
||||
|
||||
### 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,
|
||||
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.
|
||||
|
||||
Both Core and Addons editor-schema JSON files remain attached for the website editor.
|
||||
|
||||
Reference in new issue
Block a user