Skip to content

Commit

Permalink
Merge pull request #390 from voxpupuli/binford2k-patch-1
Browse files Browse the repository at this point in the history
Add fine-grained token info
  • Loading branch information
bastelfreak authored Oct 23, 2024
2 parents 569c628 + b5a7524 commit 1aa73a7
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions _docs/releasing_version.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,14 @@ bundle config set --local without 'development system_tests'
bundle install; bundle update; bundle clean
```

We can now generate the changelog after updating the metadata.json with a rake task (in most cases, this requires a
[GitHub access token (docs on how to create one)](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line):
the changelog generator expects the token in the environment variable `CHANGELOG_GITHUB_TOKEN`)
We can now generate the changelog after updating the metadata.json with a rake task.

> 🔔 In most cases, this requires a [GitHub fine-grained access token](https://github.com/settings/tokens?type=beta).
> * Resource owner: you
> * Expiration: one year or less
> * Repository access: Public Repositories (read-only)
>
> The changelog generator expects the token in the environment variable `CHANGELOG_GITHUB_TOKEN`
```bash
CHANGELOG_GITHUB_TOKEN='mytoken' bundle exec rake release:prepare
Expand Down

0 comments on commit 1aa73a7

Please sign in to comment.