diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cb77255d..525f8fae 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,15 +39,16 @@ jobs: uses: dsx137/modrinth-release-action@main env: MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} + VERSION: ${{ steps.build.outputs.TAG }} with: - name: "${{ steps.build.outputs.TAG }}" + name: ${{ env.VERSION }} project_id: vVZc7jAV loaders: Bukkit,Folia,Paper,Purpur,Spigot game_versions: 1.20.1:1.20.6,1.21,1.21.1 - version_number: "${{ steps.build.outputs.TAG }}" + version_number: ${{ env.VERSION }} files: | staging/*.jar - changelog: "See https://github.com/ColdeZhang/Dominion/releases/tag/${{ steps.build.outputs.TAG }}" + changelog: "See https://github.com/ColdeZhang/Dominion/releases/tag/${{ env.VERSION }}" version_type: beta # or beta, alpha featured: false updatable: false # default true, means updating existing version diff --git a/build.gradle.kts b/build.gradle.kts index 9c8a60c1..ccaa7559 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ plugins { } group = "cn.lunadeer" -version = "2.6.6-beta" +version = "2.6.7-beta" java { toolchain.languageVersion.set(JavaLanguageVersion.of(21))