Skip to content

Commit

Permalink
post review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mpnowacki-reef committed Nov 18, 2023
1 parent 1f9bced commit 06b15b6
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
5 changes: 3 additions & 2 deletions README.release.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Release Process

Just run `nox -s make_release_commit -- X.Y.Z` where `X.Y.Z` is the version you're releasing, and follow
the instructions.
- Run `nox -s make_release_commit -- X.Y.Z` where `X.Y.Z` is the version you're releasing
- Copy the main usage string (from `b2 --help`) to `README.md`. Handy command for consistent format: `COLUMNS=4000 b2 --help | awk '/^usages:/ {p=1; next} p {sub(/^ */, "", $0); print}'`

File renamed without changes.
6 changes: 3 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,11 +589,11 @@ def make_release_commit(session):

session.run('pip', 'install', *REQUIREMENTS_RELEASE)
session.run('towncrier', 'build', '--yes', '--version', version)
session.run('git', 'commit', '-m', f'release {version}')
session.run('git', 'tag', f'{version}')

session.log(
f'Release commit prepared successfully, to initiate the release process do\n'
f'CHANGELOG updated, changes ready to commit and push\n'
f' git commit -m release {version}\n'
f' git tag v{version}\n'
f' git push {{UPSTREAM_NAME}} v{version}\n'
f' git push {{UPSTREAM_NAME}} {current_branch}'
)
26 changes: 13 additions & 13 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,37 +28,37 @@ underlines = ["", "", ""]
title_format = "## {version} - {project_date}"
issue_format = "[#{issue}](https://github.com/Backblaze/B2_Command_Line_Tool/issues/{issue})"

[[tool.towncrier.type]]
directory = "infrastructure"
name = "Infrastructure"
showcontent = true

[[tool.towncrier.type]]
directory = "removed"
name = "Removed"
showcontent = true

[[tool.towncrier.type]]
directory = "deprecated"
name = "Deprecated"
directory = "changed"
name = "Changed"
showcontent = true

[[tool.towncrier.type]]
directory = "added"
name = "Added"
directory = "fixed"
name = "Fixed"
showcontent = true

[[tool.towncrier.type]]
directory = "changed"
name = "Changed"
directory = "deprecated"
name = "Deprecated"
showcontent = true

[[tool.towncrier.type]]
directory = "fixed"
name = "Fixed"
directory = "added"
name = "Added"
showcontent = true

[[tool.towncrier.type]]
directory = "doc"
name = "Doc"
showcontent = true

[[tool.towncrier.type]]
directory = "infrastructure"
name = "Infrastructure"
showcontent = true

0 comments on commit 06b15b6

Please sign in to comment.