Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .github/workflows/01-create-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Bump versions and compare
id: bump_versions
run: |
BUMP_TYPE=${{ inputs.bump-type }}
BUMP_TYPE=${{ inputs.release-type }}
echo "Bumping versions to $BUMP_TYPE"

npm install semver -g
Expand All @@ -66,12 +66,14 @@ jobs:
EE_VERSION=$new_version
cd ..

cd oss/
cd oss
current_version=$(pnpm pkg get version | awk -F': ' '/[0-9]+\.[0-9]+\.[0-9]+/ {print $2}' | tr -d '"')
new_version=$(npx semver "$current_version" -i $BUMP_TYPE)
pnpm pkg set version="$new_version"
OSS_VERSION=$new_version
cd ../..
cd ..

cd ..

cd sdk
poetry version $BUMP_TYPE
Expand Down