Title: Docs on releases · robust-python/cookiecutter-robust-python · Discussion #35 · GitHub
Open Graph Title: Docs on releases · robust-python/cookiecutter-robust-python · Discussion #35
X Title: Docs on releases · robust-python/cookiecutter-robust-python · Discussion #35
Description: Docs on releases
Open Graph Description: Are there any docs on the release workflow? Seems like I need to bump the version on a release/{version} branch but would be good to see exactly what's needed to create a release
X Description: Are there any docs on the release workflow? Seems like I need to bump the version on a release/{version} branch but would be good to see exactly what's needed to create a release
Opengraph URL: https://github.com/robust-python/cookiecutter-robust-python/discussions/35
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"QAPage","mainEntity":{"@type":"Question","name":"Docs on releases","text":"\u003cp dir=\"auto\"\u003eAre there any docs on the release workflow? Seems like I need to bump the version on a \u003ccode class=\"notranslate\"\u003erelease/{version}\u003c/code\u003e branch but would be good to see exactly what's needed to create a release\u003c/p\u003e","upvoteCount":2,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"\u003cp dir=\"auto\"\u003eHey, sorry about that will definitely add some. Works been a bit crazy lately but will start having some more time to focus on this in about a week or so, and definitely working on the template docs as soon as I can\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eFor setting up a release the workflow is the following:\u003c/p\u003e\n\u003cdiv class=\"snippet-clipboard-content notranslate position-relative overflow-auto\" data-snippet-clipboard-copy-content=\"git checkout develop\n# Ensure you have no outstanding changes, the script will purposely fail if \u0026quot;git status --porcelain\u0026quot; doesn't pass\n\nnox -s setup-release -- {PATCH_TYPE}\n\n# PATCH_TYPE can be one of [\u0026quot;MAJOR\u0026quot;, \u0026quot;MINOR\u0026quot;, \u0026quot;PATCH\u0026quot;, \u0026quot;PRERELEASE\u0026quot;]\"\u003e\u003cpre lang=\"terminal\" class=\"notranslate\"\u003e\u003ccode class=\"notranslate\"\u003egit checkout develop\n# Ensure you have no outstanding changes, the script will purposely fail if \"git status --porcelain\" doesn't pass\n\nnox -s setup-release -- {PATCH_TYPE}\n\n# PATCH_TYPE can be one of [\"MAJOR\", \"MINOR\", \"PATCH\", \"PRERELEASE\"]\n\u003c/code\u003e\u003c/pre\u003e\u003c/div\u003e\n\u003cp dir=\"auto\"\u003eThis should leave you with \u003ccode class=\"notranslate\"\u003erelease/x.y.z\u003c/code\u003e checked out, committed, and ready to be pushed to remote if everything went as expected.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eFrom there the workflow would be:\u003c/p\u003e\n\u003cul dir=\"auto\"\u003e\n\u003cli\u003eCreate a PR from \u003ccode class=\"notranslate\"\u003erelease/x.y.z\u003c/code\u003e into \u003ccode class=\"notranslate\"\u003emain\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003eShould automatically run a bunch of CI/CD checks\u003c/li\u003e\n\u003cli\u003eMerge \u003ccode class=\"notranslate\"\u003erelease/x.y.z\u003c/code\u003e into main through PR\u003c/li\u003e\n\u003cli\u003eFetch changes locally and update local \u003ccode class=\"notranslate\"\u003emain\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003eMerge local \u003ccode class=\"notranslate\"\u003emain\u003c/code\u003e into local \u003ccode class=\"notranslate\"\u003edevelop\u003c/code\u003e\u003c/li\u003e\n\u003cli\u003ePush local \u003ccode class=\"notranslate\"\u003edevelop\u003c/code\u003e to remote\u003c/li\u003e\n\u003cli\u003eMerge local develop into local features as needed\u003c/li\u003e\n\u003c/ul\u003e\n\u003cp dir=\"auto\"\u003eCan definitely vary from this workflow, and I doubt it should affect too much, but this is kinda what I've been doing for the time being.\u003c/p\u003e\n\u003cp dir=\"auto\"\u003eI've tried out using proper gitflow where you merge \u003ccode class=\"notranslate\"\u003erelease/x.y.z\u003c/code\u003e into main and develop individually, and then leave the histories separate, but I kept running into history reference problems and some weird CI/CD flow issues with tagging doing it that way\u003c/p\u003e","upvoteCount":1,"url":"https://github.com/robust-python/cookiecutter-robust-python/discussions/35#discussioncomment-14641989"}}}
| route-pattern | /_view_fragments/Voltron::DiscussionsFragmentsController/show/:user_id/:repository/:discussion_number/discussion_layout(.:format) |
| route-controller | voltron_discussions_fragments |
| route-action | discussion_layout |
| fetch-nonce | v2:dad1a3e6-e1d4-6fa2-fc19-f35a087db48b |
| current-catalog-service-hash | 9f0abe34da433c9b6db74bffa2466494a717b579a96b30a5d252e5090baea7be |
| request-id | 8B1C:12A0A1:181FB87:228343B:6A58FE49 |
| html-safe-nonce | 8bedc275ed27c83ba3931e3c9c4b497a46e80059a612dcb48210da5f59537efc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjFDOjEyQTBBMToxODFGQjg3OjIyODM0M0I6NkE1OEZFNDkiLCJ2aXNpdG9yX2lkIjoiNjc3MTIyMzYwOTg5MTk0NjA1NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9c1568a9116f4f003c6ce97535016b7f6acf73cc24afe861b2222199f38feb39 |
| hovercard-subject-tag | discussion:8995977 |
| github-keyboard-shortcuts | repository,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/Voltron::DiscussionsFragmentsController/show/robust-python/cookiecutter-robust-python/35/discussion_layout |
| twitter:image | https://opengraph.githubassets.com/9f25c2f9b33df19c4d760c658e6d3e1b7682e92b6a4f8bd616c573bf7940d3d8/robust-python/cookiecutter-robust-python/discussions/35 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9f25c2f9b33df19c4d760c658e6d3e1b7682e92b6a4f8bd616c573bf7940d3d8/robust-python/cookiecutter-robust-python/discussions/35 |
| og:image:alt | Are there any docs on the release workflow? Seems like I need to bump the version on a release/{version} branch but would be good to see exactly what's needed to create a release |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| go-import | github.com/robust-python/cookiecutter-robust-python git https://github.com/robust-python/cookiecutter-robust-python.git |
| octolytics-dimension-user_id | 239908993 |
| octolytics-dimension-user_login | robust-python |
| octolytics-dimension-repository_id | 973543599 |
| octolytics-dimension-repository_nwo | robust-python/cookiecutter-robust-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 973543599 |
| octolytics-dimension-repository_network_root_nwo | robust-python/cookiecutter-robust-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9842457e8d7e3b2e1635a63af28da35614845510 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width