diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0b45234..e4836ce 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index ac75b17..05c8df2 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -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 diff --git a/BetterRTP-Core/pom.xml b/BetterRTP-Core/pom.xml index 2cdd4e9..353c3e5 100644 --- a/BetterRTP-Core/pom.xml +++ b/BetterRTP-Core/pom.xml @@ -7,7 +7,7 @@ me.SuperRonanCraft BetterRTP jar - 3.6.14 + 3.6.15 diff --git a/BetterRTPAddons/pom.xml b/BetterRTPAddons/pom.xml index 2fa0f8a..21c157a 100644 --- a/BetterRTPAddons/pom.xml +++ b/BetterRTPAddons/pom.xml @@ -169,7 +169,7 @@ me.SuperRonanCraft BetterRTP - 3.6.13 + 3.6.15 provided diff --git a/README.md b/README.md index da99e5f..88323f4 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/pom.xml b/pom.xml index f63cf2c..a84a357 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ 4.0.0 me.SuperRonanCraft BetterRTP-build - 3.6.13 + 3.6.15 pom BetterRTP-Core