Skip to content

Commit eb6961c

Browse files
committed
Merge branch 'contributing-release-steps' into v1.1.0-rel
2 parents 77f15b7 + 5df5ccd commit eb6961c

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ The steps for creating a `vX.Y.Z-rel` branch are:
9797
- copy file `EDITORS.md` to `versions/X.Y.Z-editors.md`
9898
- for an X.Y.0 release
9999
- move folder `schemas/vX.Y-dev` to `schemas/vX.Y`
100+
- move folder `tests/vX.Y-dev` to `tests/vX.Y`
100101
4. Merge `vX.Y.Z-rel` into `main` via pull request
101102
5. Archive branch `vX.Y.Z-rel`
102103

scripts/adjust-release-branch.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,19 @@ echo Prepare release of $version
1919
# create snapshot of current editors
2020
cp EDITORS.md versions/$version-editors.md
2121

22+
# "move" dev version of spec to release version - git will treat this as a rename
2223
# Replace release date placeholder with current date - should only appear in the history table
2324
sed "s/| TBD |/| $today |/g" versions/$version-dev.md > versions/$version.md
2425
# show what changed in the spec - should only be the history table line for the current release
2526
diff -Z versions/$version-dev.md versions/$version.md
26-
# remove development version of spec
27+
# remove dev version of spec
2728
rm versions/$version-dev.md
2829

29-
# rename schemas folder if present
30+
# rename schemas dev folder and tests folder if present
3031
vMinor=$(echo $vVersion | cut -d. -f1,2)
3132
if [ -d "schemas/$vMinor-dev" ]; then
3233
mv "schemas/$vMinor-dev" "schemas/$vMinor"
3334
fi
35+
if [ -d "tests/$vMinor-dev" ]; then
36+
mv "tests/$vMinor-dev" "tests/$vMinor"
37+
fi

0 commit comments

Comments
 (0)