Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tag-dev task level #6

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,20 +144,20 @@ Please refer to the correct workflow between the two below.
8. Publish the release from the tags page
9. If pipeline succeeds, push `master`
10. Merge `master` back on `develop`
11. Bump developement version via task: `inv tag-dev --level=(major|minor|patch)`
11. Bump developement version via task: `inv tag-dev --level=release`
12. Push `develop`

#### Projects that use only develop or master branch

1. Update `AUTHORS.rst` file, if present
2. Bump release via task: `inv tag-release (major|minor|patch)`
2. Bump release via task: `inv tag-release --level=(major|minor|patch)`
3. Update changelog via towncrier: `towncrier --yes`
4. Commit changelog with `git commit --amend` to merge with bumpversion commit
5. Create tag `git tag <version>`
6. Push tag to github
7. Publish the release from the tags page
8. If pipeline succeeds, push the project main branch (`master` or `develop`)
9. Bump developement version via task: `inv tag-dev -l (major|minor|patch)`
9. Bump developement version via task: `inv tag-dev --level=release`
10. Push the project main branch (`master` or `develop`)

To increment dev version use `inv tag-dev --level=relver` (e.g. to pass from `1.2.0.dev1` to `1.2.0.dev2`)