From 22c71dae6a59706022d5fc1f2cea9a29fff2c4eb Mon Sep 17 00:00:00 2001 From: MIOGMIOG <82799665+MIOGMIOG@users.noreply.github.com> Date: Fri, 4 Mar 2022 17:01:15 +0100 Subject: [PATCH 1/7] Update via* & Fix typo --- gradle.properties | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 995f4b2..3ef269c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -9,11 +9,11 @@ mappings_channel=stable mappings_version=39-1.12 mod_id=viaforge -mod_name=Viaforge +mod_name=ViaForge mod_version=1.0.0 mod_base_package=de.enzaxd mixin_version=0.8.3 -viaversion_version=4.1.2-SNAPSHOT -viabackwards_version=4.1.2-SNAPSHOT +viaversion_version=4.2.1-SNAPSHOT +viabackwards_version=4.2.1-SNAPSHOT From 6be24561e5cac7f27b42b4c08a8ce6595277e36f Mon Sep 17 00:00:00 2001 From: MIOGMIOG <82799665+MIOGMIOG@users.noreply.github.com> Date: Fri, 4 Mar 2022 17:01:57 +0100 Subject: [PATCH 2/7] Github actions auto compile --- .github/workflows/main.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..756ebeb --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,32 @@ +name: build +on: [pull_request, push] + +jobs: + build: + strategy: + matrix: + # Use these Java versions + java: [ + 8 + ] + os: [ubuntu-latest] + runs-on: ${{ matrix.os }} + steps: + - name: checkout repository + uses: actions/checkout@v2 + - name: validate gradle wrapper + uses: gradle/wrapper-validation-action@v1 + - name: setup jdk ${{ matrix.java }} + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - name: make gradle wrapper executable + run: chmod +x ./gradlew + - name: build + run: ./gradlew build + - name: capture build artifacts + if: ${{ runner.os == 'Linux' && matrix.java == '8' }} + uses: actions/upload-artifact@v2 + with: + name: ViaForge-1.12.2 + path: build/libs/ From 2314719da375b0ad3d18ee2d0a97cac18bf3c496 Mon Sep 17 00:00:00 2001 From: MIOGMIOG <82799665+MIOGMIOG@users.noreply.github.com> Date: Fri, 4 Mar 2022 17:05:04 +0100 Subject: [PATCH 3/7] Add 1.18.2 to version list --- .../java/de/enzaxd/viaforge/protocol/ProtocolCollection.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/de/enzaxd/viaforge/protocol/ProtocolCollection.java b/src/main/java/de/enzaxd/viaforge/protocol/ProtocolCollection.java index 293ed79..b7f7b0a 100644 --- a/src/main/java/de/enzaxd/viaforge/protocol/ProtocolCollection.java +++ b/src/main/java/de/enzaxd/viaforge/protocol/ProtocolCollection.java @@ -4,6 +4,7 @@ import com.viaversion.viaversion.api.protocol.version.ProtocolVersion; public enum ProtocolCollection { + R1_18_2(new ProtocolVersion(758, "1.18.2")), R1_18_1(new ProtocolVersion(757, "1.18-1.18.1")), R1_17_1(new ProtocolVersion(756, "1.17.1")), From b7ae0cf99d88b9ef4d8839f15314bd9513f88778 Mon Sep 17 00:00:00 2001 From: MIOGMIOG <82799665+MIOGMIOG@users.noreply.github.com> Date: Fri, 4 Mar 2022 17:09:44 +0100 Subject: [PATCH 4/7] Fix typo --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 3ef269c..4370eb5 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,5 +15,5 @@ mod_base_package=de.enzaxd mixin_version=0.8.3 -viaversion_version=4.2.1-SNAPSHOT +viaversion_version=4.2.1 viabackwards_version=4.2.1-SNAPSHOT From 5947b47e935b69b12a953db3fb3223a246c4271f Mon Sep 17 00:00:00 2001 From: MIOGMIOG <82799665+MIOGMIOG@users.noreply.github.com> Date: Mon, 7 Mar 2022 18:08:21 +0100 Subject: [PATCH 5/7] Allow to build manually --- .github/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 756ebeb..5c8bb83 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,6 @@ name: build -on: [pull_request, push] +on: [pull_request, push, workflow_dispatch] + jobs: build: From 8ff9e0c9fa91fe1d5879a947c00e3078120fdfcc Mon Sep 17 00:00:00 2001 From: MIOGMIOG <82799665+MIOGMIOG@users.noreply.github.com> Date: Mon, 7 Mar 2022 18:15:03 +0100 Subject: [PATCH 6/7] Stupid new line --- .github/workflows/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5c8bb83..a64ea8f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,7 +1,6 @@ name: build on: [pull_request, push, workflow_dispatch] - jobs: build: strategy: From beccd5dbd32d3a0d61b6a302954a60551eeff882 Mon Sep 17 00:00:00 2001 From: MIOGMIOG <82799665+MIOGMIOG@users.noreply.github.com> Date: Wed, 9 Mar 2022 18:20:05 +0100 Subject: [PATCH 7/7] New version has been released --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 4370eb5..62d5340 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,5 +15,5 @@ mod_base_package=de.enzaxd mixin_version=0.8.3 -viaversion_version=4.2.1 +viaversion_version=4.2.2-SNAPSHOT viabackwards_version=4.2.1-SNAPSHOT