-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: fix little issues in release process
- Loading branch information
Showing
1 changed file
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Torrust Tracker Release Process (v2.2.1) | ||
# Torrust Tracker Release Process (v2.2.2) | ||
|
||
## Version: | ||
> **The `[semantic version]` is bumped according to releases, new features, and breaking changes.** | ||
|
@@ -7,6 +7,20 @@ | |
## Process: | ||
|
||
**Note**: this guide assumes that the your git `torrust` remote is like this: | ||
|
||
```sh | ||
git remote show torrust | ||
``` | ||
|
||
```s | ||
* remote torrust | ||
Fetch URL: [email protected]:torrust/torrust-tracker.git | ||
Push URL: [email protected]:torrust/torrust-tracker.git | ||
... | ||
``` | ||
|
||
|
||
### 1. The `develop` branch is ready for a release. | ||
The `develop` branch should have the version `[semantic version]-develop` that is ready to be released. | ||
|
||
|
@@ -22,6 +36,7 @@ git push --force torrust develop:staging/main | |
```sh | ||
git stash | ||
git switch staging/main | ||
git reset --hard torrust/staging/main | ||
# change `[semantic version]-develop` to `[semantic version]`. | ||
git add -A | ||
git commit -m "release: version [semantic version]" | ||
|
@@ -65,7 +80,8 @@ git push --force torrust main:staging/develop | |
|
||
```sh | ||
git stash | ||
git switch staging/main | ||
git switch staging/develop | ||
git reset --hard torrust/staging/develop | ||
# change `[semantic version]` to `(next)[semantic version]-develop`. | ||
git add -A | ||
git commit -m "develop: bump to version (next)[semantic version]-develop" | ||
|