action-release icon indicating copy to clipboard operation
action-release copied to clipboard

Incorrect example of how to set the `version` parameter

Open AJenbo opened this issue 3 years ago • 1 comments

Environment

https://github.com/marketplace/actions/sentry-release#examples

The given example is wrong:

- uses: getsentry/action-release@v1
  with:
    environment: 'production'
    version: 'v1.0.1'

Steps to Reproduce

  1. Use the given example

Expected Result

Version is set to 'v1.0.1'

Actual Result

Warning: Unexpected input(s) 'version', valid inputs are ['entryPoint', 'args', 'environment', 'sourcemaps', 'finalize', 'started_at']

AJenbo avatar Feb 18 '22 11:02 AJenbo

@AJenbo I guess you just need to bump up to 1.1.6

      - name: Sentry Release
        uses: getsentry/[email protected]

xavierchow avatar May 07 '22 07:05 xavierchow