getsentry / action-release

GitHub Action for creating a release on Sentry
Apache License 2.0
446 stars 53 forks source link

Support for decompressing gzip build (--decompress cli argument) #107

Open louis030195 opened 2 years ago

louis030195 commented 2 years ago

Local CLI

My build is minified, and I need to decompress using the CLI:

releases files v0.0.1 upload-sourcemaps --decompress build

Desired GitHub action

  name: Create Sentry release
  uses: getsentry/action-release@v1.2.0
  env:
    SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
    SENTRY_ORG: ${{ secrets.SENTRY_ORG }}
    SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }}
  with:
    environment: production
    sourcemaps: "./build"
    version: "${{ env.VERSION }}"
+   decompress: true

Thanks!

armenzg commented 2 years ago

Hi @louis030195 For what sentry-cli version is that option available? We're currently using 1.67.2.

If it's in the 2.x series this feature may need to wait.

louis030195 commented 2 years ago

sentry-cli 2.5.2 ☹️

Understood, I'll use raw script in the meantime