Skip to content

Tools for updating the version number#89

Merged
kevinbackhouse merged 16 commits into
GitHubSecurityLab:mainfrom
kevinbackhouse:version-tools
Nov 21, 2025
Merged

Tools for updating the version number#89
kevinbackhouse merged 16 commits into
GitHubSecurityLab:mainfrom
kevinbackhouse:version-tools

Conversation

@kevinbackhouse
Copy link
Copy Markdown
Collaborator

Scripts for updating the version number. Using these should lower the chance of making a mistake, like accidentally putting the wrong version number in the commit message.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces automation scripts for version management to reduce human error during releases. The scripts handle version bumping and git tagging with appropriate validation checks.

  • Adds version_bump.sh for automated version number updates with git branch/commit creation
  • Adds version_tag.sh for creating signed git tags with validation checks
  • Both scripts include safety checks for uncommitted changes and branch verification

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.

File Description
release_tools/version_bump.sh Script to bump version numbers using hatch, creates a new branch and commits the change
release_tools/version_tag.sh Script to create signed tags for releases with validation that checks for GitHub-signed merge commits

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread release_tools/version_bump.sh Outdated
Comment thread release_tools/version_bump.sh Outdated
Comment thread release_tools/version_tag.sh Outdated
Comment thread release_tools/version_tag.sh Outdated
Comment thread release_tools/version_tag.sh Outdated
Comment thread release_tools/version_tag.sh Outdated
Comment thread release_tools/version_tag.sh
Comment thread release_tools/version_tag.sh Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings November 20, 2025 15:53
kevinbackhouse and others added 2 commits November 20, 2025 15:54
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread release_tools/version_bump.sh Outdated
Comment thread release_tools/version_bump.sh Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread release_tools/version_tag.sh Outdated
Comment thread release_tools/version_tag.sh Outdated
Comment thread release_tools/version_tag.sh Outdated
Comment thread release_tools/version_bump.sh Outdated
kevinbackhouse and others added 2 commits November 20, 2025 17:13
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings November 20, 2025 17:14
kevinbackhouse and others added 2 commits November 20, 2025 17:14
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread release_tools/version_bump.sh Outdated
Comment thread release_tools/version_tag.sh Outdated
Comment thread release_tools/version_bump.sh Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread release_tools/version_bump.sh Outdated
Comment thread release_tools/version_tag.sh Outdated
Comment thread release_tools/version_bump.sh Outdated
Comment thread release_tools/version_bump.sh
Comment thread release_tools/version_bump.sh Outdated
Copilot AI review requested due to automatic review settings November 20, 2025 17:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread release_tools/version_tag.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings November 20, 2025 17:52
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread release_tools/version_tag.sh
@kevinbackhouse kevinbackhouse merged commit 7e6e599 into GitHubSecurityLab:main Nov 21, 2025
9 checks passed
@kevinbackhouse kevinbackhouse deleted the version-tools branch November 21, 2025 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants