Skip to content

Commit

Permalink
Improve the pre-release workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyDynamic committed Sep 28, 2024
1 parent 1dc44ce commit 86fc142
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,14 +160,17 @@ jobs:
modrinth-id: DgWBIBY5 # https://modrinth.com/mod/quickbackupmulti
modrinth-token: ${{ secrets.MODRINTH_API_TOKEN }}

curseforge-id: 951047 # https://www.curseforge.com/minecraft/mc-mods/quickbackupmulti
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }}

github-tag: ${{ steps.release_info.outputs.tag_name }}
github-token: ${{ secrets.GITHUB_TOKEN }}
github-prerelease: true

files: ${{ steps.file_info.outputs.path }}

name: ${{ format('{0} v{1} for mc{2}', steps.properties_g.outputs.mod_name, steps.properties_g.outputs.mod_version, steps.properties_v.outputs.minecraft_version) }}
version: ${{ format('mc{0}-v{1}', steps.properties_v.outputs.minecraft_version, steps.properties_g.outputs.mod_version) }}
name: ${{ format('{0} v{1}+Pre-Release.{2} for mc{3}', steps.properties_g.outputs.mod_name, steps.properties_g.outputs.mod_version, github.event.inputs.pre_release_version, steps.properties_v.outputs.minecraft_version) }}
version: ${{ format('mc{0}-v{1}+pre-release{2}', steps.properties_v.outputs.minecraft_version, steps.properties_g.outputs.mod_version, github.event.inputs.pre_release_version) }}
version-type: beta

loaders: fabric
Expand Down

0 comments on commit 86fc142

Please sign in to comment.