Skip to content

Commit 43a6fdf

Browse files
committed
add release process docs
On-behalf-of: @SAP [email protected]
1 parent 3ef710d commit 43a6fdf

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

docs/content/releasing.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Release Process
2+
3+
The guide describes how to release a new version of the api-syncagent.
4+
5+
## Prerequisites
6+
7+
1. Have all desired changes merged and/or cherrypicked into the appropriate
8+
release branch.
9+
10+
## Minor Release
11+
12+
Minor releases (0.x) are tagged directly on the `main` branch and the `v0.X.0`
13+
tag represents where the corresponding `release/v0.X` branch branches off.
14+
15+
1. Checkout the desired `main` branch commit.
16+
1. Tag the main module: `git tag -m "version 0.X" v0.X.0`
17+
1. Tag the SDK module: `git tag -m "SDK version 0.X" sdk/v0.X.0`
18+
1. Push the tags: `git push upstream v0.X.0 sdk/v0.X.0`
19+
1. Create the release branch: `git checkout -B release/v0.X`
20+
1. Push the release branch: `git push -u upstream release/v0.X`
21+
22+
## Patch Releases
23+
24+
Patch releases (v0.x.y) are tagged with in a release branch.
25+
26+
1. Checkout the desired `release/v0.X` branch commit.
27+
1. Tag the main module: `git tag -m "version 0.X.Y" v0.X.Y`
28+
1. Tag the SDK module: `git tag -m "SDK version 0.X.Y" sdk/v0.X.Y`
29+
1. Push the tags: `git push upstream v0.X.Y sdk/v0.X.Y`

docs/mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ nav:
2525
- Publishing Resources: publish-resources.md
2626
- Consuming Services: consuming-services.md
2727
- FAQ: faq.md
28+
- Release Process: releasing.md
2829

2930
# Site content
3031
docs_dir: 'content'

0 commit comments

Comments
 (0)