-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add Release Checklist #144
Conversation
nautobot-app-chatops/{{ cookiecutter.project_slug }}/docs/dev/release_checklist.md
Show resolved
Hide resolved
nautobot-app/{{ cookiecutter.project_slug }}/docs/dev/release_checklist.md
Show resolved
Hide resolved
nautobot-app/{{ cookiecutter.project_slug }}/development/towncrier_template.j2
Show resolved
Hide resolved
nautobot-app/{{ cookiecutter.project_slug }}/docs/dev/release_checklist.md
Outdated
Show resolved
Hide resolved
nautobot-app/{{ cookiecutter.project_slug }}/docs/dev/release_checklist.md
Show resolved
Hide resolved
nautobot-app/{{ cookiecutter.project_slug }}/docs/dev/release_checklist.md
Show resolved
Hide resolved
nautobot-app/{{ cookiecutter.project_slug }}/docs/dev/release_checklist.md
Show resolved
Hide resolved
nautobot-app/{{ cookiecutter.project_slug }}/docs/dev/release_checklist.md
Outdated
Show resolved
Hide resolved
First, sync your `main` branch with upstream changes: `git switch main && git pull`. | ||
|
||
Create a new branch from `main` called `release-1.4.2-to-develop` and use `poetry version prepatch` to bump the development version to the next release. | ||
|
||
For example, if you just released `v1.4.2`: | ||
|
||
```no-highlight | ||
> git switch -c release-1.4.2-to-develop main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For future versions of this you can skip the git switch main && git pull
and just create your branch off of the upstream branch:
git fetch
git switch -c release-1.4.2-to-develop origin/main
nautobot-app/{{ cookiecutter.project_slug }}/docs/dev/release_checklist.md
Show resolved
Hide resolved
nautobot-app/{{ cookiecutter.project_slug }}/docs/dev/release_checklist.md
Outdated
Show resolved
Hide resolved
nautobot-app/{{ cookiecutter.project_slug }}/docs/dev/release_checklist.md
Outdated
Show resolved
Hide resolved
nautobot-app/{{ cookiecutter.project_slug }}/docs/dev/release_checklist.md
Show resolved
Hide resolved
6. Add all the changes and `git commit -m "Release v1.2.3"`, then `git push`. | ||
7. Open a new PR against `ltm-1.6`. Once CI is passing in the PR, `Create a merge commit` (don't squash!). | ||
8. Create a New Release in GitHub - use the same steps documented [here](#create-a-new-release-in-github). | ||
9. Open a separate PR against `develop` to synchronize all LTM release changelogs into the latest version of the docs for visibility. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be a good idea to emphasize that we're only updating docs in develop
…checklist.md Co-authored-by: Gary Snider <[email protected]>
…checklist.md Co-authored-by: Gary Snider <[email protected]>
…checklist.md Co-authored-by: Gary Snider <[email protected]>
…checklist.md Co-authored-by: Gary Snider <[email protected]>
Just because I hit this today, the |
nautobot-app/{{ cookiecutter.project_slug }}/docs/dev/release_checklist.md
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the Changes!
|
||
### Create a New Release in GitHub | ||
|
||
Draft a [new release](https://github.com/nautobot/nautobot-app-dev-example/releases/new) with the following parameters. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want these 3 instances of nautobot-app-dev-example
to be changed to {{ cookiecutter.project_slug }}
?
|
||
```no-highlight | ||
> poetry version | ||
nautobot-dev-example 1.0.0-beta.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this need to be {{ cookiecutter.app_slug }}
?
This PR documents, step by step, what a maintainer should do when cutting a new release for an open source App.
major.minor
invoke generate-release-notes
#115I have tested these changes successfully in the https://github.com/nautobot/nautobot-app-dev-example repo, with the exception of the LTM steps, due to a lack of an LTM branch in dev-example.