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