From c879bff5c786bec03a0113fb1760e2e31d9153e2 Mon Sep 17 00:00:00 2001 From: zen Date: Fri, 11 Dec 2020 21:08:22 -0500 Subject: [PATCH] improve release workflow --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d713413a..f5383c19 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} COMMIT_HASH: ${{ github.sha }} - VERSION: ${{ github.event.release.tag_name#v }} + VERSION: ${{ github.event.release.tag_name | sed -e 's/^v//' }} EARTHLY_BUILD_ARGS: "BRANCH_NAME,COMMIT_HASH,VERSION" EARTHLY_SECRETS: "CODECOV_TOKEN" run: earth --push +all