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 1717
1818my_path=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
1919root_path=" $my_path /.."
20- version=$( git describe --abbrev=0 --tags || echo " 0.0.0 " )
20+ version=$( git describe --abbrev=0 --tags || echo " master " )
2121modules=(NIOHTTPClient)
2222
2323if [[ " $( uname -s) " == " Linux" ]]; then
5151if ! command -v jazzy > /dev/null; then
5252 gem install jazzy --no-ri --no-rdoc
5353fi
54+
5455module_switcher=" docs/$version /README.md"
5556jazzy_args=(--clean
5657 --author ' SwiftNIOHTTPClient team'
5758 --readme " $module_switcher "
5859 --author_url https://github.com/swift-server/swift-nio-http-client
5960 --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 "
6162 --theme fullwidth
6263 --xcodebuild-arguments -scheme,swift-nio-http-client-Package)
6364cat > " $module_switcher " << "EOF "
You can’t perform that action at this time.
0 commit comments