5
5
# run this script from the root of the repo
6
6
# It is designed to be run by a GitHub workflow
7
7
8
- # Usage: build.sh [version | "latest" | "oas "]
8
+ # Usage: build.sh [version | "latest" | "src "]
9
9
# When run with no arguments, it builds artifacts for all published specification versions.
10
10
# It may also be run with a specific version argument, such as "3.1.1" or "latest"
11
- # Finally, it may be run with "oas " to build "src/oas.md"
11
+ # Finally, it may be run with "src " to build "src/oas.md"
12
12
#
13
13
# It contains bashisms
14
14
@@ -56,7 +56,7 @@ if [ -z "$1" ]; then
56
56
specifications=$( ls -1 versions/[23456789].* .md | sort -r)
57
57
elif [ " $1 " = " latest" ]; then
58
58
specifications=$( ls -1 versions/$latest .md)
59
- elif [ " $1 " = " oas " ]; then
59
+ elif [ " $1 " = " src " ]; then
60
60
specifications=" src/oas.md"
61
61
else
62
62
specifications=$( ls -1 versions/$1 .md)
@@ -70,7 +70,7 @@ for specification in $specifications; do
70
70
destination=" $deploydir /$version .html"
71
71
tempfile=" $deploydir /temp/$version .html"
72
72
73
- if [ " $1 " = " oas " ]; then
73
+ if [ " $1 " = " src " ]; then
74
74
maintainers=" EDITORS.md"
75
75
else
76
76
maintainers=" history/MAINTAINERS_v$version .md"
0 commit comments