diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 525f8fae..e6957fdf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -39,16 +39,15 @@ jobs: uses: dsx137/modrinth-release-action@main env: MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} - VERSION: ${{ steps.build.outputs.TAG }} with: - name: ${{ env.VERSION }} + name: ${{ env.AUTOMATIC_RELEASES_TAG }} project_id: vVZc7jAV loaders: Bukkit,Folia,Paper,Purpur,Spigot game_versions: 1.20.1:1.20.6,1.21,1.21.1 - version_number: ${{ env.VERSION }} + version_number: ${{ env.AUTOMATIC_RELEASES_TAG }} files: | staging/*.jar - changelog: "See https://github.com/ColdeZhang/Dominion/releases/tag/${{ env.VERSION }}" + changelog: "See https://github.com/ColdeZhang/Dominion/releases/tag/${{ env.AUTOMATIC_RELEASES_TAG }}" 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 ccaa7559..17482167 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ plugins { } group = "cn.lunadeer" -version = "2.6.7-beta" +version = "2.6.8-beta" java { toolchain.languageVersion.set(JavaLanguageVersion.of(21))