1drop / shopware-sentry

Sentry plugin for Shopware
MIT License
20 stars 9 forks source link

Allow overriding releases #27

Closed ghobaty closed 5 years ago

ghobaty commented 5 years ago

Currently the release is parsed from Shopware version (i.e. shopware.release.version). It would be great if we could override this (e.g. via an environment or config variable).

htuscher commented 5 years ago

This tracks the version of the software used and is therefore correct.

I think you want to use the release tracking in Sentry => your project releases. We do e.g. this in .gitlab-ci.yml:

    - NOW=$(date +"%Y%m%d%H%M%S")
    - >-
        curl -s "https://sentry/api/hooks/release/builtin/21/somekey/"
        -X POST
        -H "Content-Type: application/json"
        -d '{"version": "'${NOW}'"}'

So we can use the sentry features affected releases, resolved in next release etc.

ghobaty commented 5 years ago

Yes you are right. Thanks a lot!