Skip to content

Commit aa2720b

Browse files
committed
bump version after sdk is published
1 parent 0f915c0 commit aa2720b

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

.github/workflows/sdk-release-prod.yml

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,26 @@ jobs:
5353
echo "New production version: $NEW_VERSION"
5454
echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT
5555
56+
build-and-publish-sdk:
57+
needs: prepare-and-commit-prod
58+
uses: ./.github/workflows/sdk-release-build.yml
59+
with:
60+
new-version: ${{ needs.prepare-and-commit-prod.outputs.new_version }}
61+
artifact-name: updated-sdk-package
62+
checkout-ref: ${{ github.sha }}
63+
secrets: inherit
64+
65+
push-to-git:
66+
runs-on: ubuntu-latest
67+
needs: build-and-publish-sdk
68+
outputs:
69+
new_version: ${{ steps.bump_version.outputs.new_version }}
70+
steps:
71+
- uses: actions/checkout@v4
72+
with:
73+
token: ${{ secrets.GITHUB_TOKEN }}
74+
75+
- uses: ./.github/actions/setup-project
5676
- name: Configure git
5777
run: |
5878
git config --global user.name "github-actions[bot]"
@@ -77,12 +97,3 @@ jobs:
7797
with:
7898
name: updated-sdk-package
7999
path: sdk/
80-
81-
build-and-publish-sdk:
82-
needs: prepare-and-commit-prod
83-
uses: ./.github/workflows/sdk-release-build.yml
84-
with:
85-
new-version: ${{ needs.prepare-and-commit-prod.outputs.new_version }}
86-
artifact-name: updated-sdk-package
87-
checkout-ref: ${{ github.sha }}
88-
secrets: inherit

0 commit comments

Comments
 (0)