diff --git a/README.md b/README.md index cef943d..ff9c659 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ Click “Save” at the bottom of the page and grab your token, which you’ll u Adding the following to your workflow will create a new Sentry release and tell Sentry that you are deploying to the `production` environment. ```yaml +- uses: actions/checkout@v2 - name: Create Sentry release uses: getsentry/action-release@v1 env: @@ -80,6 +81,11 @@ Suggestions and issues can be posted on the repository's ``` Syntax error: end of file unexpected (expecting ")") ``` +- When adding the action, make sure to first checkout your repo with `actions/checkout@v2`. +Otherwise it could fail at the `propose-version` step with the message: + ``` + error: Could not automatically determine release name + ``` ## Contributing See the [Contributing Guide](https://github.com/getsentry/action-release/blob/master/CONTRIBUTING).