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
10 changes: 3 additions & 7 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ on:
workflow_dispatch:
inputs:
bump:
description: 'Version bump type'
description: "Version bump type"
required: true
type: choice
options:
- patch
- minor
- major
pre_release:
description: 'Pre-release tag (e.g., alpha, beta, rc)'
description: "Pre-release tag (e.g., alpha, beta, rc)"
required: false
type: string

Expand Down Expand Up @@ -79,11 +79,7 @@ jobs:
sed -i 's/^version = ".*"/version = "${{ steps.version.outputs.new_version }}"/' "$crate"
done

# Update internal dependencies
find . -name "Cargo.toml" -exec sed -i \
-e 's/redis-cloud = { version = ".*"/redis-cloud = { version = "${{ steps.version.outputs.new_version }}"/' \
-e 's/redis-enterprise = { version = ".*"/redis-enterprise = { version = "${{ steps.version.outputs.new_version }}"/' \
{} \;
# Note: Internal dependencies use path references in workspace, no need to update versions

- name: Generate changelog
run: |
Expand Down
Loading