Version Bumping and Release Process
Vanguard uses semantic versioning and provides a streamlined process for updating the project version. Here's how to bump the version and create a new release:
Automated Version Bumping
Navigate to the root directory of the Vanguard project.
Run the version bumping script:
bash./bump_version.sh
The script will prompt you to choose a version type:
- Patch (e.g., 1.0.0 to 1.0.1)
- Minor (e.g., 1.0.0 to 1.1.0)
- Major (e.g., 1.0.0 to 2.0.0)
After selection, you'll be asked to confirm the new version.
Upon confirmation, the script will:
- Update the version number in relevant files
- Commit these changes
- Push the commit to the repository
Creating a Release on GitHub
After bumping the version:
- Go to the Vanguard repository on GitHub.
- Navigate to the "Releases" section.
- Click "Draft a new release".
- Tag the release with the new version number (e.g., v1.2.3).
- Title the release with the version number.
- In the description, detail the changes and new features.
- Publish the release.
TIP
Before creating a release, ensure all tests pass and the changelog is up-to-date.