fix release build naming

This commit is contained in:
Fazri Gading
2026-01-21 16:24:47 +08:00
parent 5d75ca80aa
commit ff5acb5278

View File

@@ -95,9 +95,9 @@ jobs:
uses: softprops/action-gh-release@v2
with:
# If it's a tag, use the tag.
tag_name: ${{ github.ref_type == 'tag' && github.ref_name || format('v{0}-beta.{1}', steps.pkg_version.outputs.VERSION, github.run_number) }}
# If it's the 'release' branch, use 'v2.0.2-beta.run42'
name: ${{ github.ref_type == 'tag' && github.ref_name || format('Hytale-F2P v{0} (Beta Build {1})', steps.pkg_version.outputs.VERSION, github.run_number) }}
tag_name: ${{ github.ref_type == 'tag' && github.ref_name || format('v{0}.r{1}', steps.pkg_version.outputs.VERSION, github.run_number) }}
# If it's the 'release' branch, use 'v2.0.2-beta.r42'
name: ${{ github.ref_type == 'tag' && github.ref_name || format('v{0}-beta.r{1})', steps.pkg_version.outputs.VERSION, github.run_number) }}
files: |
artifacts/linux-builds/**/*
artifacts/windows-builds/**/*