Skip to content

Commit 63ac2f7

Browse files
authored
[PM-13377] Rename repository (#1191)
Rename repository from sdk to sdk-sm.
1 parent 201a680 commit 63ac2f7

File tree

31 files changed

+55
-55
lines changed

31 files changed

+55
-55
lines changed

.github/workflows/publish-bws.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
id: version-output
4848
run: |
4949
if [[ "${{ inputs.version }}" == "latest" || "${{ inputs.version }}" == "" ]]; then
50-
TAG_NAME=$(curl "https://api.github.com/repos/bitwarden/sdk/releases" | jq -c '.[] | select(.tag_name | contains("bws")) | .tag_name' | head -1)
50+
TAG_NAME=$(curl "https://api.github.com/repos/bitwarden/sdk-sm/releases" | jq -c '.[] | select(.tag_name | contains("bws")) | .tag_name' | head -1)
5151
VERSION=$(echo $TAG_NAME | grep -ohE '20[0-9]{2}\.([1-9]|1[0-2])\.[0-9]+')
5252
echo "Latest Released Version: $VERSION"
5353
echo "version=$VERSION" >> $GITHUB_OUTPUT

.github/workflows/publish-dotnet.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
id: version-output
4545
run: |
4646
if [[ "${{ inputs.version }}" == "latest" || "${{ inputs.version }}" == "" ]]; then
47-
TAG_NAME=$(curl "https://api.github.com/repos/bitwarden/sdk/releases" | jq -c '.[] | select(.tag_name | contains("dotnet")) | .tag_name' | head -1)
47+
TAG_NAME=$(curl "https://api.github.com/repos/bitwarden/sdk-sm/releases" | jq -c '.[] | select(.tag_name | contains("dotnet")) | .tag_name' | head -1)
4848
VERSION=$(echo $TAG_NAME | grep -ohE '20[0-9]{2}\.([1-9]|1[0-2])\.[0-9]+')
4949
echo "Latest Released Version: $VERSION"
5050
echo "version=$VERSION" >> $GITHUB_OUTPUT
@@ -76,7 +76,7 @@ jobs:
7676
run: |
7777
mkdir -p nuget-output
7878
cd nuget-output
79-
wget https://github.com/bitwarden/sdk/releases/download/dotnet-v${{ needs.validate.outputs.version }}/Bitwarden.Sdk.${{ needs.validate.outputs.version }}.nupkg
79+
wget https://github.com/bitwarden/sdk-sm/releases/download/dotnet-v${{ needs.validate.outputs.version }}/Bitwarden.Sdk.${{ needs.validate.outputs.version }}.nupkg
8080
8181
- name: Login to Azure - Prod Subscription
8282
uses: Azure/login@e15b166166a8746d1a47596803bd8c1b595455cf # v1.6.0

.github/workflows/publish-java.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
id: version-output
5151
run: |
5252
if [[ "${{ inputs.version }}" == "latest" || "${{ inputs.version }}" == "" ]]; then
53-
TAG_NAME=$(curl "https://api.github.com/repos/bitwarden/sdk/releases" | jq -rc '.[] | select(.tag_name | contains("java")) | .tag_name' | head -1)
53+
TAG_NAME=$(curl "https://api.github.com/repos/bitwarden/sdk-sm/releases" | jq -rc '.[] | select(.tag_name | contains("java")) | .tag_name' | head -1)
5454
VERSION=$(echo $TAG_NAME | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
5555
echo "Latest Released Version: $VERSION"
5656
echo "version=$VERSION" >> $GITHUB_OUTPUT

.github/workflows/publish-napi.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
id: version-output
4747
run: |
4848
if [[ "${{ inputs.version }}" == "latest" || "${{ inputs.version }}" == "" ]]; then
49-
TAG_NAME=$(curl "https://api.github.com/repos/bitwarden/sdk/releases" | jq -c '.[] | select(.tag_name | contains("napi")) | .tag_name' | head -1)
49+
TAG_NAME=$(curl "https://api.github.com/repos/bitwarden/sdk-sm/releases" | jq -c '.[] | select(.tag_name | contains("napi")) | .tag_name' | head -1)
5050
VERSION=$(echo $TAG_NAME | grep -ohE '20[0-9]{2}\.([1-9]|1[0-2])\.[0-9]+')
5151
echo "Latest Released Version: $VERSION"
5252
echo "version=$VERSION" >> $GITHUB_OUTPUT
@@ -91,7 +91,7 @@ jobs:
9191

9292
- name: Download schemas.ts artifact
9393
run: |
94-
wget https://github.com/bitwarden/sdk/releases/download/napi-v${{ env._PKG_VERSION }}/schemas.ts
94+
wget https://github.com/bitwarden/sdk-sm/releases/download/napi-v${{ env._PKG_VERSION }}/schemas.ts
9595
mv schemas.ts ${{ github.workspace }}/crates/bitwarden-napi/src-ts/bitwarden_client/schemas.ts
9696
9797
- name: Install dependencies
@@ -114,10 +114,10 @@ jobs:
114114

115115
- name: Download sdk-napi artifacts
116116
run: |
117-
wget https://github.com/bitwarden/sdk/releases/download/napi-v${{ env._PKG_VERSION }}/sdk-napi.darwin-arm64.node
118-
wget https://github.com/bitwarden/sdk/releases/download/napi-v${{ env._PKG_VERSION }}/sdk-napi.darwin-x64.node
119-
wget https://github.com/bitwarden/sdk/releases/download/napi-v${{ env._PKG_VERSION }}/sdk-napi.win32-x64-msvc.node
120-
wget https://github.com/bitwarden/sdk/releases/download/napi-v${{ env._PKG_VERSION }}/sdk-napi.linux-x64-gnu.node
117+
wget https://github.com/bitwarden/sdk-sm/releases/download/napi-v${{ env._PKG_VERSION }}/sdk-napi.darwin-arm64.node
118+
wget https://github.com/bitwarden/sdk-sm/releases/download/napi-v${{ env._PKG_VERSION }}/sdk-napi.darwin-x64.node
119+
wget https://github.com/bitwarden/sdk-sm/releases/download/napi-v${{ env._PKG_VERSION }}/sdk-napi.win32-x64-msvc.node
120+
wget https://github.com/bitwarden/sdk-sm/releases/download/napi-v${{ env._PKG_VERSION }}/sdk-napi.linux-x64-gnu.node
121121
mv sdk-napi.*.node ${{ github.workspace }}/crates/bitwarden-napi/artifacts
122122
123123
- name: Move artifacts

.github/workflows/publish-python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
id: version-output
4747
run: |
4848
if [[ "${{ inputs.version }}" == "latest" || "${{ inputs.version }}" == "" ]]; then
49-
TAG_NAME=$(curl "https://api.github.com/repos/bitwarden/sdk/releases" | jq -c '.[] | select(.tag_name | contains("python")) | .tag_name' | head -1)
49+
TAG_NAME=$(curl "https://api.github.com/repos/bitwarden/sdk-sm/releases" | jq -c '.[] | select(.tag_name | contains("python")) | .tag_name' | head -1)
5050
VERSION=$(echo $TAG_NAME | grep -ohE '20[0-9]{2}\.([1-9]|1[0-2])\.[0-9]+')
5151
echo "Latest Released Version: $VERSION"
5252
echo "version=$VERSION" >> $GITHUB_OUTPUT
@@ -79,7 +79,7 @@ jobs:
7979
- name: Get release assets
8080
working-directory: ${{ github.workspace }}/target/wheels/dist
8181
run: |
82-
ARTIFACT_URLS=$(curl -sSL https://api.github.com/repos/bitwarden/sdk/releases/tags/${{ needs.setup.outputs.tag_name }} | jq -r '.assets[].browser_download_url')
82+
ARTIFACT_URLS=$(curl -sSL https://api.github.com/repos/bitwarden/sdk-sm/releases/tags/${{ needs.setup.outputs.tag_name }} | jq -r '.assets[].browser_download_url')
8383
for url in $ARTIFACT_URLS; do
8484
wget $url
8585
done

.github/workflows/publish-ruby.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
id: version-output
4747
run: |
4848
if [[ "${{ inputs.version }}" == "latest" || "${{ inputs.version }}" == "" ]]; then
49-
TAG_NAME=$(curl "https://api.github.com/repos/bitwarden/sdk/releases" | jq -c '.[] | select(.tag_name | contains("ruby")) | .tag_name' | head -1)
49+
TAG_NAME=$(curl "https://api.github.com/repos/bitwarden/sdk-sm/releases" | jq -c '.[] | select(.tag_name | contains("ruby")) | .tag_name' | head -1)
5050
VERSION=$(echo $TAG_NAME | grep -ohE '20[0-9]{2}\.([1-9]|1[0-2])\.[0-9]+')
5151
echo "Latest Released Version: $VERSION"
5252
echo "version=$VERSION" >> $GITHUB_OUTPUT
@@ -95,7 +95,7 @@ jobs:
9595
secrets: "rubygem-api-key"
9696

9797
- name: Download ruby artifact
98-
run: wget https://github.com/bitwarden/sdk/releases/download/ruby-v${{ env._VERSION }}/bitwarden-sdk-secrets-${{ env._VERSION }}.gem
98+
run: wget https://github.com/bitwarden/sdk-sm/releases/download/ruby-v${{ env._VERSION }}/bitwarden-sdk-secrets-${{ env._VERSION }}.gem
9999

100100
- name: Push gem to Rubygems
101101
if: ${{ inputs.release_type != 'Dry Run' }}

.github/workflows/publish-rust-crates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
id: version-output
4545
run: |
4646
if [[ "${{ inputs.version }}" == "latest" || "${{ inputs.version }}" == "" ]]; then
47-
TAG_NAME=$(curl "https://api.github.com/repos/bitwarden/sdk/releases" | jq -c '.[] | select(.tag_name | contains("rust")) | .tag_name' | head -1)
47+
TAG_NAME=$(curl "https://api.github.com/repos/bitwarden/sdk-sm/releases" | jq -c '.[] | select(.tag_name | contains("rust")) | .tag_name' | head -1)
4848
VERSION=$(echo $TAG_NAME | grep -ohE '20[0-9]{2}\.([1-9]|1[0-2])\.[0-9]+')
4949
echo "Latest Released Version: $VERSION"
5050
echo "version=$VERSION" >> $GITHUB_OUTPUT

.github/workflows/publish-wasm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
id: version-output
4747
run: |
4848
if [[ "${{ inputs.version }}" == "latest" || "${{ inputs.version }}" == "" ]]; then
49-
TAG_NAME=$(curl "https://api.github.com/repos/bitwarden/sdk/releases" | jq -c '.[] | select(.tag_name | contains("napi")) | .tag_name' | head -1)
49+
TAG_NAME=$(curl "https://api.github.com/repos/bitwarden/sdk-sm/releases" | jq -c '.[] | select(.tag_name | contains("napi")) | .tag_name' | head -1)
5050
VERSION=$(echo $TAG_NAME | grep -ohE '20[0-9]{2}\.([1-9]|1[0-2])\.[0-9]+')
5151
echo "Latest Released Version: $VERSION"
5252
echo "version=$VERSION" >> $GITHUB_OUTPUT
@@ -91,7 +91,7 @@ jobs:
9191
- name: Download artifact
9292
run: |
9393
cd ${{ github.workspace }}/languages/js/wasm
94-
wget https://github.com/bitwarden/sdk/releases/download/wasm-v${{ env._VERSION }}/sdk-bitwarden-wasm.zip
94+
wget https://github.com/bitwarden/sdk-sm/releases/download/wasm-v${{ env._VERSION }}/sdk-bitwarden-wasm.zip
9595
unzip sdk-bitwarden-wasm.zip
9696
rm sdk-bitwarden-wasm.zip
9797

.github/workflows/version-bump.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6262
with:
6363
ref: main
64-
repository: bitwarden/sdk
64+
repository: bitwarden/sdk-sm
6565

6666
- name: Import GPG key
6767
uses: crazy-max/ghaction-import-gpg@cb9bde2e2525e640591a934b1fd28eef1dcaf5e5 # v6.2.0

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ edition = "2021"
1111
# Note: Changing rust-version should be considered a breaking change
1212
rust-version = "1.75"
1313
homepage = "https://bitwarden.com"
14-
repository = "https://github.com/bitwarden/sdk"
14+
repository = "https://github.com/bitwarden/sdk-sm"
1515
license-file = "LICENSE"
1616
keywords = ["bitwarden"]
1717

0 commit comments

Comments
 (0)