Skip to content

Commit

Permalink
Add php version update to version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
michalchecinski committed Mar 13, 2024
1 parent 954f15b commit 670eae3
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 @@ -21,6 +21,7 @@ on:
- python-sdk
- ruby-sdk
- go-sdk
- php-sdk
version_number:
description: "New version (example: '2024.1.0')"
required: true
Expand Down Expand Up @@ -162,6 +163,12 @@ jobs:
if: ${{ inputs.project == 'go-sdk' }}
run: sed -i 's/[0-9]\.[0-9]\.[0-9]/${{ inputs.version_number }}/' ./languages/go/.version

### php sdk
- name: Bump php-sdk Version
if: ${{ inputs.project == 'php-sdk' }}
run: |
sed -i 's/"version": "[0-9]\.[0-9]\.[0-9]"/"version": "${{ inputs.version_number }}"/' ./languages/php/composer.json
############################
# VERSION BUMP SECTION END #
############################
Expand Down

0 comments on commit 670eae3

Please sign in to comment.