Skip to content

Commit e8f5e0b

Browse files
cloudant-sdks-automationricellis
authored andcommitted
Generated: ci: lang repo branch renaming
Generated SDK source code using: - Generator version 3.51.0 - Specification version 1.0.0-dev0.0.45 - Automation (cloudant-sdks) version 979e410 Signed-off-by: cloudant-sdks-automation <[email protected]>
1 parent a91ee3a commit e8f5e0b

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/pull_request_template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Fixes: <! -- link to issue -->
66

7-
**Note: An existing issue is [required](https://github.com/IBM/cloudant-python-sdk/blob/master/CONTRIBUTING.md#PRs) before opening a PR.**
7+
**Note: An existing issue is [required](https://github.com/IBM/cloudant-python-sdk/blob/main/CONTRIBUTING.md#PRs) before opening a PR.**
88

99
## PR Checklist
1010

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ _should not_ be modified.
2121

2222
# General Information
2323
For general guidance on contributing to this project, please see the
24-
[general guidance for contributing](https://github.com/IBM/ibm-cloud-sdk-common/blob/master/CONTRIBUTING_python.md).
24+
[general guidance for contributing](https://github.com/IBM/ibm-cloud-sdk-common/blob/main/CONTRIBUTING_python.md).

Jenkinsfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ pipeline {
109109
string(name: 'SDK_RUN_LANG', value: "$libName"),
110110
string(name: "SDK_VERSION_${libName.toUpperCase()}", value: "$prefixedSdkVersion")]
111111
} catch (hudson.AbortException ae) {
112-
// only run build in sdks-gauge master branch if BRANCH_NAME doesn't exist
112+
// only run build in sdks-gauge default branch if BRANCH_NAME doesn't exist
113113
if (ae.getMessage().contains("No item named /${env.SDKS_GAUGE_PIPELINE_PROJECT}/${gaugeBranchName} found")) {
114114
echo "No matching branch named '${gaugeBranchName}' in sdks-gauge, building ${fallbackBranchName} branch"
115115
build job: "/${env.SDKS_GAUGE_PIPELINE_PROJECT}/${fallbackBranchName}", parameters: [
@@ -126,8 +126,8 @@ pipeline {
126126
when {
127127
beforeAgent true
128128
allOf {
129-
// We only bump the version and create a tag when building master with a TARGET_VERSION
130-
branch 'master'
129+
// We only bump the version and create a tag when building the default primary branch with a TARGET_VERSION
130+
expression { env.BRANCH_IS_PRIMARY }
131131
not {
132132
equals expected: 'NONE', actual: "${params.TARGET_VERSION}"
133133
}
@@ -137,7 +137,7 @@ pipeline {
137137
// bump the version
138138
bumpVersion(false)
139139
// Push the version bump and release tag
140-
sh 'git push --tags origin HEAD:master'
140+
sh 'git push --tags origin HEAD:main'
141141
}
142142
}
143143
stage('Publish[repository]') {

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://github.com/IBM/cloudant-python-sdk/actions/workflows/test.yml/badge.svg?branch=master&event=push)](https://github.com/IBM/cloudant-python-sdk/actions/workflows/test.yml)
1+
[![Build Status](https://github.com/IBM/cloudant-python-sdk/actions/workflows/test.yml/badge.svg?branch=main&event=push)](https://github.com/IBM/cloudant-python-sdk/actions/workflows/test.yml)
22
[![Release](https://img.shields.io/github/v/release/IBM/cloudant-python-sdk?include_prereleases&sort=semver)](https://github.com/IBM/cloudant-python-sdk/releases/latest)
33
[![Docs](https://img.shields.io/static/v1?label=Pydoc&message=latest&color=blue)](https://ibm.github.io/cloudant-python-sdk/)
44

@@ -209,16 +209,16 @@ To learn more about how to use programmatic authentication, see the related
209209
documentation in the
210210
[Cloudant API docs](https://cloud.ibm.com/apidocs/cloudant?code=python#programmatic-authentication)
211211
or in the
212-
[Python SDK Core document](https://github.com/IBM/python-sdk-core/blob/master/Authentication.md) about authentication.
212+
[Python SDK Core document](https://github.com/IBM/python-sdk-core/blob/main/Authentication.md) about authentication.
213213

214214
## Using the SDK
215215

216-
For fundamental SDK usage information and config options, please see the common [IBM Cloud SDK](https://github.com/IBM/ibm-cloud-sdk-common/blob/master/README.md) documentation.
216+
For fundamental SDK usage information and config options, please see the common [IBM Cloud SDK](https://github.com/IBM/ibm-cloud-sdk-common/blob/main/README.md) documentation.
217217

218218
### Request timeout configuration
219219

220220
No request timeout is defined, but a 2.5m read and a 60s connect timeout are set by default. Be sure to set a request timeout appropriate to your application usage and environment.
221-
The [request timeout](https://github.com/IBM/ibm-cloud-sdk-common/blob/master/README.md) section contains details on how to change the value.
221+
The [request timeout](https://github.com/IBM/ibm-cloud-sdk-common/blob/main/README.md) section contains details on how to change the value.
222222

223223
**Note:** System settings may take precedence over configured timeout values.
224224

0 commit comments

Comments
 (0)