We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e403595 + e337060 commit 0efdc65Copy full SHA for 0efdc65
scripts/adjust-release-branch.sh
@@ -5,6 +5,7 @@
5
# Run this script from the root of the repo. It is designed to be run manually in a release branch.
6
7
branch=$(git branch --show-current)
8
+today=$(date +%Y-%m-%d)
9
10
if [[ ! $branch =~ ^v[0-9]+\.[0-9]+\.[0-9]+-rel$ ]]; then
11
echo "This script is intended to be run from a release branch, e.g. v3.1.2-rel"
@@ -16,7 +17,8 @@ version=${vVersion:1}
16
17
echo Prepare release of $version
18
19
cp EDITORS.md versions/$version-editors.md
-mv src/oas.md versions/$version.md
20
+sed "s/| TBD |/| $today |/g" src/oas.md > versions/$version.md
21
+diff -w src/oas.md versions/$version.md
22
rm -r src
23
rm -r tests/schema/pass tests/schema/fail
24
rm tests/schema/schema.test.mjs
0 commit comments