Shorter hashes?

This commit is contained in:
Jordan Eldredge 2024-10-02 19:38:01 -07:00
parent 7ef3a309ed
commit f25242bf00

View File

@ -68,8 +68,8 @@ jobs:
if: github.ref == 'refs/heads/master' if: github.ref == 'refs/heads/master'
run: | run: |
yarn workspace webamp build-library yarn workspace webamp build-library
echo "Setting version to 0.0.0-next-${{ github.sha }}" echo "Setting version to 0.0.0-next-${RELEASE_COMMIT_SHA::7}"
yarn workspace webamp version --new-version 0.0.0-next-${{ github.sha }} --no-git-tag-version yarn workspace webamp version --new-version 0.0.0-next-${RELEASE_COMMIT_SHA::7} --no-git-tag-version
env: env:
RELEASE_COMMIT_SHA: ${{ github.sha }} RELEASE_COMMIT_SHA: ${{ github.sha }}
- name: Build release version - name: Build release version