refactor: use script/bump-version.sh instead of Makefile (#7907)

There isn't a good reason why we're using a Makefile instead of regular
Bash script for bumping versions, so this PR fixes that for better
maintainability.

It also reduces then chances for merge conflicts when bumping version
because the versions are longer on adjacent lines.

Fixes: #7904
This commit is contained in:
Jamil
2025-01-28 23:47:05 +00:00
committed by GitHub
parent 9c4b3bc6c3
commit 1ec3db387e
4 changed files with 183 additions and 85 deletions

View File

@@ -11,7 +11,7 @@ Table of Contents:
## Releasing
**Note**: The version for all published components is set from [scripts/Makefile](../scripts/Makefile).
**Note**: The version for all published components is set from [scripts/bump-versions.sh](../scripts/bump-versions.sh).
### App Store clients (Apple/Android)
@@ -31,7 +31,7 @@ Given that `main` is tested:
correct changes.
1. Publish the release. Tags and release name should be auto generated. This will trigger pushing Docker images to `ghcr.io`.
1. Open a PR and make the following changes:
1. Update [scripts/Makefile](../scripts/Makefile) with the new version number(s). Run `make -f scripts/Makefile version` to propagate the versions in the Makefile to all components.
1. Update [scripts/bump-versions.sh](../scripts/bump-versions.sh) with the new version number(s). Run `scripts/bump-versions.sh` to propagate the versions all components.
1. Update the Changelog (e.g. `../website/src/components/Changelog/GUI.tsx`) with:
1. New version numbers
1. Release notes