diff --git a/languages/csharp/Bitwarden.Sdk/Bitwarden.Sdk.csproj b/languages/csharp/Bitwarden.Sdk/Bitwarden.Sdk.csproj
index 951b893ab..183ea8db9 100644
--- a/languages/csharp/Bitwarden.Sdk/Bitwarden.Sdk.csproj
+++ b/languages/csharp/Bitwarden.Sdk/Bitwarden.Sdk.csproj
@@ -12,7 +12,7 @@
Bitwarden Inc.
SDK
- https://github.com/bitwarden/sdk/tree/master/languages/csharp
+ https://github.com/bitwarden/sdk/tree/main/languages/csharp
Git
https://bitwarden.com/products/secrets-manager/
diff --git a/languages/java/build.gradle b/languages/java/build.gradle
index dc17386c4..f044ea485 100644
--- a/languages/java/build.gradle
+++ b/languages/java/build.gradle
@@ -31,11 +31,11 @@ repositories {
// Determine the version from the git history.
//
// PRs: use the branch name.
- // Master: Grab it from `crates/bitwarden/Cargo.toml`
+ // Main: Grab it from `crates/bitwarden/Cargo.toml`
def branchName = "git branch --show-current".execute().text.trim()
- if (branchName == "master") {
+ if (branchName == "main") {
def content = ['grep', '-o', '^version = ".*"', '../../crates/bitwarden/Cargo.toml'].execute().text.trim()
def match = ~/version = "(.*)"/
def matcher = match.matcher(content)
diff --git a/languages/kotlin/sdk/build.gradle b/languages/kotlin/sdk/build.gradle
index 3fb6956e2..a4ee06814 100644
--- a/languages/kotlin/sdk/build.gradle
+++ b/languages/kotlin/sdk/build.gradle
@@ -46,11 +46,11 @@ publishing {
// Determine the version from the git history.
//
// PRs: use the branch name.
- // Master: Grab it from `crates/bitwarden/Cargo.toml`
+ // Main: Grab it from `crates/bitwarden/Cargo.toml`
def branchName = "git branch --show-current".execute().text.trim()
- if (branchName == "master") {
+ if (branchName == "main") {
def content = ['grep', '-o', '^version = ".*"', '../../crates/bitwarden/Cargo.toml'].execute().text.trim()
def match = ~/version = "(.*)"/
def matcher = match.matcher(content)
diff --git a/languages/ruby/bitwarden_sdk/bitwarden-sdk.gemspec b/languages/ruby/bitwarden_sdk/bitwarden-sdk.gemspec
index 12a4f5fdc..596531035 100644
--- a/languages/ruby/bitwarden_sdk/bitwarden-sdk.gemspec
+++ b/languages/ruby/bitwarden_sdk/bitwarden-sdk.gemspec
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
spec.metadata['homepage_uri'] = spec.homepage
spec.metadata['source_code_uri'] = 'https://github.com/bitwarden/sdk'
- spec.metadata['changelog_uri'] = 'https://github.com/bitwarden/sdk/blob/master/languages/ruby/CHANGELOG.md'
+ spec.metadata['changelog_uri'] = 'https://github.com/bitwarden/sdk/blob/main/languages/ruby/CHANGELOG.md'
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.