File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 17
17
18
18
my_path=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
19
19
root_path=" $my_path /.."
20
- version=$( git describe --abbrev=0 --tags || echo " 0.0.0 " )
20
+ version=$( git describe --abbrev=0 --tags || echo " master " )
21
21
modules=(NIOHTTPClient)
22
22
23
23
if [[ " $( uname -s) " == " Linux" ]]; then
51
51
if ! command -v jazzy > /dev/null; then
52
52
gem install jazzy --no-ri --no-rdoc
53
53
fi
54
+
54
55
module_switcher=" docs/$version /README.md"
55
56
jazzy_args=(--clean
56
57
--author ' SwiftNIOHTTPClient team'
57
58
--readme " $module_switcher "
58
59
--author_url https://github.com/swift-server/swift-nio-http-client
59
60
--github_url https://github.com/swift-server/swift-nio-http-client
60
- --github-file-prefix https://github.com/swift-server/swift-nio-http-client/tree/$version
61
+ --github-file-prefix " https://github.com/swift-server/swift-nio-http-client/tree/$version "
61
62
--theme fullwidth
62
63
--xcodebuild-arguments -scheme,swift-nio-http-client-Package)
63
64
cat > " $module_switcher " << "EOF "
You can’t perform that action at this time.
0 commit comments