Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .scripts/HowToCreateANewRelease.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Following script calls
- Update README.md with the new release header and title (based on the `readme_release_header.txt` template)

```bash
python ./.scripts/transform_files.py UpdateC4WithReleaseVersion
python ./.scripts/transform_files.py UpdateAllIncludes
python ./.scripts/transform_files.py UpdateAllImages
python ./.scripts/transform_files.py ReplaceREADMEHeader
```
Expand All @@ -91,6 +91,8 @@ Following commit all changes and tag it locally with `$release_version` (e.g. `v

```bash
git checkout release/$release_version
git add -u *.md
git add -u *.puml
git add -u **/*.md
git add -u **/*.puml
git commit -m "Create release (branch) $release_version"
Expand Down
2 changes: 1 addition & 1 deletion .scripts/transform_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ def update_c4_release_version():
def update_c4_next_beta_version():
# $c4Version is defined without starting 'v'
print(
f"updating C4Version() definition in C4.puml with new release_version {release_version[1:]} ..."
f"updating C4Version() definition in C4.puml with new release_version {next_version[1:]} ..."
)
replace_first_regex_in_file(
"C4.puml", r'!\$c4Version = ".+"', f'!$c4Version = "{next_version[1:]}beta1"'
Expand Down
2 changes: 1 addition & 1 deletion C4.puml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
' ##################################
!function C4Version()
' 2 spaces and ' are used as unique marker, that the release scripts makes the correct version update
!$c4Version = "2.6.0beta2"
!$c4Version = "2.6.1beta1"
!return $c4Version
!end function

Expand Down