Skip to content

Commit

Permalink
fix: permission in workflow to allow publishing release
Browse files Browse the repository at this point in the history
  • Loading branch information
josecelano committed Dec 9, 2021
1 parent de82f96 commit 2455968
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish-github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ jobs:
name: Publish GitHub Release
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
contents: write
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/publish-pypi-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ jobs:
build:
name: Publish package to PyPI
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
5 changes: 5 additions & 0 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,8 @@ mega-linter-runner --fix
## Releases

We use [Semantic Versioning 2.0.0](https://semver.org/spec/v2.0.0.html). To publish a new release, you only new to create the tag (for example, `v1.3.0`) and push it to [GitHub](https://github.com/Nautilus-Cyberneering/librarian/tags).

```shell
git tag v1.3.0
git push origin v1.3.0
```

0 comments on commit 2455968

Please sign in to comment.