Skip to content

Commit

Permalink
Update old references to master branch (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton authored Dec 18, 2023
1 parent c071d47 commit dda075c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion languages/csharp/Bitwarden.Sdk/Bitwarden.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<Copyright>Bitwarden Inc.</Copyright>
<Product>SDK</Product>

<RepositoryUrl>https://github.com/bitwarden/sdk/tree/master/languages/csharp</RepositoryUrl>
<RepositoryUrl>https://github.com/bitwarden/sdk/tree/main/languages/csharp</RepositoryUrl>
<RepositoryType>Git</RepositoryType>

<PackageProjectUrl>https://bitwarden.com/products/secrets-manager/</PackageProjectUrl>
Expand Down
4 changes: 2 additions & 2 deletions languages/java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions languages/kotlin/sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion languages/ruby/bitwarden_sdk/bitwarden-sdk.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit dda075c

Please sign in to comment.