diff --git a/.github/workflows/build-bundle.yml b/.github/workflows/build-bundle.yml index 764cc980c0..4ef2651e5d 100644 --- a/.github/workflows/build-bundle.yml +++ b/.github/workflows/build-bundle.yml @@ -57,6 +57,7 @@ jobs: id: vars run: | echo "gh_ref=${{ inputs.gh_ref || github.ref_name }}" >> $GITHUB_OUTPUT + echo "bundle_version=$(git describe --tags --always)" >> $GITHUB_OUTPUT - name: Build bundle env: @@ -76,7 +77,7 @@ jobs: - name: Upload Penpot bundle to S3 run: | - aws s3 cp zips/penpot.zip s3://${{ secrets.S3_BUCKET }}/penpot-${{ steps.vars.outputs.gh_ref }}.zip + aws s3 cp zips/penpot.zip s3://${{ secrets.S3_BUCKET }}/penpot-${{ steps.vars.outputs.gh_ref }}.zip --metadata bundle-version=${{ steps.vars.outputs.bundle_version }} - name: Notify Mattermost if: failure() @@ -86,4 +87,5 @@ jobs: TEXT: | ❌ *[PENPOT] Error during the execution of the job* 📄 Triggered from ref: `${{ steps.vars.outputs.gh_ref }}` + Bundle version: `${{ steps.vars.outputs.bundle_version }}` 🔗 Run: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}