From 7d6315af64e2fc2662d95ebce614c2d6a25a42b7 Mon Sep 17 00:00:00 2001 From: Michal Checinski Date: Wed, 24 Apr 2024 13:47:26 +0200 Subject: [PATCH] Add C++ SDKto version bump workflow --- .github/workflows/version-bump.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml index 704bee01d..24692bea6 100644 --- a/.github/workflows/version-bump.yml +++ b/.github/workflows/version-bump.yml @@ -23,6 +23,7 @@ on: - go-sdk - dotnet-sdk - php-sdk + - cpp-sdk version_number: description: "New version (example: '2024.1.0')" required: true @@ -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 # ############################