You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project uses a `.versionrc` file to manage versions. The version format follows [Semantic Versioning](https://semver.org/).
239
+
240
+
#### Making a Release
241
+
242
+
1.**Create a new branch** for the version update:
243
+
```bash
244
+
git checkout -b release/1.2.3
245
+
```
246
+
247
+
2.**Update the version** in `.versionrc`:
248
+
```bash
249
+
echo"1.2.3"> .versionrc
250
+
```
251
+
252
+
3.**Sync the version** to Go code:
253
+
```bash
254
+
make version-sync
255
+
```
256
+
257
+
4.**Verify version consistency**:
258
+
```bash
259
+
make version-check
260
+
```
261
+
262
+
5.**Commit and push** the changes:
263
+
```bash
264
+
git add .versionrc version.go
265
+
git commit -m "chore: bump version to 1.2.3"
266
+
git push origin release/1.2.3
267
+
```
268
+
269
+
6.**Create a Pull Request** to main branch
270
+
271
+
7.**Merge the PR**: GitHub Actions will automatically create a release tag and GitHub release when the PR is merged to main (only if `.versionrc` contains a new version).
0 commit comments