From f25242bf00a7fc3bc85914dbc80379dc3c610cfb Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Wed, 2 Oct 2024 19:38:01 -0700 Subject: [PATCH] Shorter hashes? --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b3f77ca..3ab9fa30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -68,8 +68,8 @@ jobs: if: github.ref == 'refs/heads/master' run: | yarn workspace webamp build-library - echo "Setting version to 0.0.0-next-${{ github.sha }}" - yarn workspace webamp version --new-version 0.0.0-next-${{ github.sha }} --no-git-tag-version + echo "Setting version to 0.0.0-next-${RELEASE_COMMIT_SHA::7}" + yarn workspace webamp version --new-version 0.0.0-next-${RELEASE_COMMIT_SHA::7} --no-git-tag-version env: RELEASE_COMMIT_SHA: ${{ github.sha }} - name: Build release version