Skip to content

Commit

Permalink
Add C++ SDKto version bump workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
michalchecinski committed Apr 24, 2024
1 parent b23a933 commit 7d6315a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/version-bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ on:
- go-sdk
- dotnet-sdk
- php-sdk
- cpp-sdk
version_number:
description: "New version (example: '2024.1.0')"
required: true
Expand Down Expand Up @@ -175,6 +176,12 @@ jobs:
run: |
sed -i 's/"version": "[0-9]\.[0-9]\.[0-9]"/"version": "${{ inputs.version_number }}"/' ./languages/php/composer.json
### cpp sdk
- name: Bump C++ SDK Version
if: ${{ inputs.project == 'cpp-sdk' }}
run: |
sed -i 's/"version": "[0-9]\.[0-9]\.[0-9]"/"version": "${{ inputs.version_number }}"/' ./languages/cpp/vcpkg.json
############################
# VERSION BUMP SECTION END #
############################
Expand Down

0 comments on commit 7d6315a

Please sign in to comment.