From f79af61bb579264f85d47fba96290b77836c7cee Mon Sep 17 00:00:00 2001 From: ztimson Date: Thu, 17 Apr 2025 11:42:01 -0400 Subject: [PATCH] Fixed version number --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 30daf65..b156e3e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -46,11 +46,11 @@ jobs: tag: name: Git Tag runs-on: ubuntu-latest - container: alpine/git + container: docker steps: - name: Git Tag run: | - git clone -b "${{github.ref_name}}" "${{github.server_url%%://*}}://${{github.token}}@${{github.server_url#*://}}/${{github.repository}}.git" . + git clone -b "${{github.ref_name}}" "$(echo ${{github.server_url}}/${{github.repository}}.git | sed s%://%://${{github.token}}@% )" . VERSION="$(cat package.json | grep 'version' | grep -Eo '([0-9]+\.?)+(-[0-9a-zA-Z\-\.]+)?')" git tag -f $VERSION ${{github.sha}}