Skip to content

Commit 2061c1a

Browse files
committed
fix(release): fix release scripts
Fix missing brackets and add snapshot-editor. (cherry picked from commit 0719123) Signed-off-by: Pablo Barbáchano <[email protected]>
1 parent 6c5181e commit 2061c1a

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## Unreleased
3+
## [Unreleased]
44

55
### Added
66

tools/bump-version.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ files_to_change=(
4949
"$FC_ROOT_DIR/src/rebase-snap/Cargo.toml"
5050
"$FC_ROOT_DIR/src/seccompiler/Cargo.toml"
5151
"$FC_ROOT_DIR/src/cpu-template-helper/Cargo.toml"
52+
"$FC_ROOT_DIR/src/snapshot-editor/Cargo.toml"
5253
)
5354
say "Updating source files:"
5455
for file in "${files_to_change[@]}"; do

tools/release-prepare.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ sed -i "s/\[Unreleased\]/\[$version\]/g" "$FC_ROOT_DIR/CHANGELOG.md"
5858

5959
# Add all changed files
6060
git add -u
61-
git commit -s -m "chore: release v$version"
61+
git commit -s -m "chore: release v$version" -m "Update version number / CHANGELOG / CREDITS"
6262

6363

6464
# pretty print code

0 commit comments

Comments
 (0)