diff --git a/.github/workflows/publish_all.yml b/.github/workflows/publish_all.yml index 2409fdba..bb60af32 100644 --- a/.github/workflows/publish_all.yml +++ b/.github/workflows/publish_all.yml @@ -40,6 +40,20 @@ jobs: game_vers: | 1.20 1.20.1 + java_vers: 17 + GITHUB_REF: ${{ github.ref }} + secrets: + CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }} + MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} + PUBLISH_MAVEN_USERNAME: ${{ secrets.PUBLISH_MAVEN_USERNAME }} + PUBLISH_MAVEN_PASSWORD: ${{ secrets.PUBLISH_MAVEN_PASSWORD }} + + deploy_1_20_2: + needs: deploy_1_20 + uses: enjarai/do-a-barrel-roll/.github/workflows/publish.yml@1.20.2/dev + with: + branch: 1.20.2/dev + game_vers: | 1.20.2 java_vers: 17 GITHUB_REF: ${{ github.ref }} diff --git a/CHANGELOG.md b/CHANGELOG.md index ea3feadb..c7a703ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,3 +2,4 @@ This does not apply to normal servers. - Changed the default toggle keybind to I to avoid conflicting with the advancements button. - Fixed an incompatibility with Keybind Fix. +- Separated 1.20 and 1.20.2 support into separate jars. \ No newline at end of file diff --git a/src/main/java/nl/enjarai/doabarrelroll/DoABarrelRoll.java b/src/main/java/nl/enjarai/doabarrelroll/DoABarrelRoll.java index 627a721d..b2af3124 100644 --- a/src/main/java/nl/enjarai/doabarrelroll/DoABarrelRoll.java +++ b/src/main/java/nl/enjarai/doabarrelroll/DoABarrelRoll.java @@ -37,7 +37,7 @@ public static void init() { @Override public void registerConversations(ConversationManager conversationManager) { conversationManager.registerSource( - JsonSource.fromUrl("https://raw.githubusercontent.com/enjarai/do-a-barrel-roll/1.20/dev/src/main/resources/cicada/do-a-barrel-roll/conversations.json") + JsonSource.fromUrl("https://raw.githubusercontent.com/enjarai/do-a-barrel-roll/1.20.2/dev/src/main/resources/cicada/do-a-barrel-roll/conversations.json") .or(JsonSource.fromResource("cicada/do-a-barrel-roll/conversations.json")), LOGGER::info );