From 125c0b4ddfeb34e52223bf8d8f148199734d7a90 Mon Sep 17 00:00:00 2001 From: Patrick Freed Date: Fri, 5 Feb 2021 17:42:40 -0500 Subject: [PATCH] update references to master branch --- Guides/JSON-Interop.md | 4 ++-- README.md | 2 +- etc/docs-main.md | 2 +- etc/release.sh | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Guides/JSON-Interop.md b/Guides/JSON-Interop.md index 47855b61..6cb927a5 100644 --- a/Guides/JSON-Interop.md +++ b/Guides/JSON-Interop.md @@ -115,8 +115,8 @@ extension ExtendedJSONDecoder: ContentDecoder { ``` To see some example Vapor apps using the driver, check out -[Examples/VaporExample](https://github.com/mongodb/mongo-swift-driver/tree/master/Examples/VaporExample) or -[Examples/ComplexVaporExample](https://github.com/mongodb/mongo-swift-driver/tree/master/Examples/ComplexVaporExample). +[Examples/VaporExample](https://github.com/mongodb/mongo-swift-driver/tree/main/Examples/VaporExample) or +[Examples/ComplexVaporExample](https://github.com/mongodb/mongo-swift-driver/tree/main/Examples/ComplexVaporExample). ## Using `JSONEncoder` and `JSONDecoder` with BSON Types diff --git a/README.md b/README.md index bb739615..2609d44a 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ Note that `BSONDocument` conforms to `Collection`, so useful methods from [`Sequ ## Development Instructions -See our [development guide](https://github.com/mongodb/mongo-swift-driver/blob/master/Guides/Development.md) for the MongoDB driver to get started. +See our [development guide](https://github.com/mongodb/mongo-swift-driver/blob/main/Guides/Development.md) for the MongoDB driver to get started. To run the tests for the BSON library you can make use of the Makefile and run: `make test-pretty` (uses `xcpretty` to change the output format) or just `make test` (for environments without ruby). ## Note diff --git a/etc/docs-main.md b/etc/docs-main.md index c769bc8a..6151906a 100644 --- a/etc/docs-main.md +++ b/etc/docs-main.md @@ -2,7 +2,7 @@ This is the documentation for the official MongoDB Swift BSON library, [swift-bson](https://github.com/mongodb/swift-bson). -You can view the README for this project, including installation instructions, [here](https://github.com/mongodb/swift-bson/blob/master/README.md). +You can view the README for this project, including installation instructions, [here](https://github.com/mongodb/swift-bson/blob/main/README.md). Documentation for other versions of `swift-bson` can be found [here](https://mongodb.github.io/swift-bson/docs). diff --git a/etc/release.sh b/etc/release.sh index 917d6971..bb0faea8 100755 --- a/etc/release.sh +++ b/etc/release.sh @@ -5,8 +5,8 @@ # exit if any command fails set -e -# ensure we are on master before releasing -git checkout master +# ensure we are on main before releasing +git checkout main version=${1} # Ensure version is non-empty