From ff4e8c757341b8eded481d13ceae22023ee0904b Mon Sep 17 00:00:00 2001 From: Marcos Gaeta Date: Thu, 27 Aug 2020 14:08:35 -0700 Subject: [PATCH] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) 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).