From 198a1757d8ab08d5cb8e9d8b02e670e9d0add629 Mon Sep 17 00:00:00 2001 From: fclante <fclante@gmail.com> Date: Tue, 26 Mar 2024 22:43:56 +0100 Subject: [PATCH] wip --- .github/workflows/publish.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 33663d9..56f660c 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -28,13 +28,18 @@ jobs: id: get_modpack_name run: echo "name=${{ steps.extract_modpack_name.outputs.value }}" >> $GITHUB_OUTPUT + - name: Strip 'v' from version tag + id: strip_version + run: | + echo "version=$(echo ${{ github.event.release.tag_name }} | sed 's/v//')" >> $GITHUB_OUTPUT + - uses: GreenTF/upload-thunderstore-package@v4.2 with: namespace: Beeheim # the thunderstore 'team' to publish under description: ${{ github.event.release.body }} token: ${{ secrets.THUNDERSTORE_TOKEN }} name: ${{ steps.get_modpack_name.outputs.name }} # the name of the package - version: ${{ github.ref_name }} # Use the tag as the package version + version: ${{ steps.strip_version.outputs.version }}# Use the tag as the package version community: Valheim # the game the package is for # repo: valheim.thunderstore.io file: modpack.zip