From 8b18ccbd1d26f17bad3adfdaa464235255dfd0d4 Mon Sep 17 00:00:00 2001 From: Ben Woo <30431861+benwoo1110@users.noreply.github.com> Date: Tue, 22 Aug 2023 11:36:20 +0800 Subject: [PATCH 1/2] fix: Modrinth task versioning --- .github/workflows/promote_release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/promote_release.yml b/.github/workflows/promote_release.yml index b263f08c..77e68e2f 100644 --- a/.github/workflows/promote_release.yml +++ b/.github/workflows/promote_release.yml @@ -83,11 +83,11 @@ jobs: with: arguments: build modrinth env: - GITHUB_VERSION: ${{ env.VERSION }} + GITHUB_VERSION: ${{ steps.release.outputs.publish_version }} MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} CHANGELOG: ${{ steps.release.outputs.body }} VERSION_NUMBER: ${{ steps.release.outputs.tag_name }} - VERSION_TYPE: ${{ env.RELEASE_TYPE }} + VERSION_TYPE: ${{ steps.release.outputs.release_type }} - name: Upload to dev.bukkit.org uses: benwoo1110/dbo-upload-action@v0.2.0 From 007b7149a1b2da5994ed8ea7231473ad936d52e0 Mon Sep 17 00:00:00 2001 From: Ben Woo <30431861+benwoo1110@users.noreply.github.com> Date: Tue, 22 Aug 2023 11:37:00 +0800 Subject: [PATCH 2/2] fix: DBO release type --- .github/workflows/promote_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/promote_release.yml b/.github/workflows/promote_release.yml index 77e68e2f..24946271 100644 --- a/.github/workflows/promote_release.yml +++ b/.github/workflows/promote_release.yml @@ -98,7 +98,7 @@ jobs: changelog_type: markdown display_name: ${{ steps.release.outputs.tag_name }} game_versions: 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1 - release_type: ${{ env.RELEASE_TYPE }} + release_type: ${{ steps.release.outputs.release_type }} project_relations: > [ {"slug": "multiverse-portals", "type": "optionalDependency"},