From 0b9c435b76666fdbca90071ec517e71ab8fbd2bb Mon Sep 17 00:00:00 2001 From: Joel Wachsler Date: Sun, 10 Jul 2022 20:30:33 +0000 Subject: [PATCH] Try to fix versioning --- .github/workflows/tag.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 7ef616a..93ce281 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -9,11 +9,13 @@ jobs: - uses: actions/checkout@v2 - name: Determine version - id: version - run: cat Cargo.toml | grep version | head -1 | sed 's/version = //' | sed 's/"//g' + id: determine-version + run: | + VERSION=$(cat Cargo.toml | grep version | head -1 | sed 's/version = //' | sed 's/"//g') + Write-Output "::set-output name=VERSION::$VERSION" - uses: Klemensas/action-autotag@stable with: GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - version: "${{ steps.version.outputs.result }}" + version: "${{ steps.determine-version.outputs.VERSION }}" tag_prefix: "v" \ No newline at end of file