Skip to content

Commit e99dcb0

Browse files
fix: remove internal dependency version updates from prepare-release workflow (#204)
The workflow was trying to update redis-cloud and redis-enterprise dependency versions, but these use path references in the workspace and don't need version updates. This was causing cargo update to fail because the new versions don't exist on crates.io yet.
1 parent 920e1d5 commit e99dcb0

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/prepare-release.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ on:
44
workflow_dispatch:
55
inputs:
66
bump:
7-
description: 'Version bump type'
7+
description: "Version bump type"
88
required: true
99
type: choice
1010
options:
1111
- patch
1212
- minor
1313
- major
1414
pre_release:
15-
description: 'Pre-release tag (e.g., alpha, beta, rc)'
15+
description: "Pre-release tag (e.g., alpha, beta, rc)"
1616
required: false
1717
type: string
1818

@@ -79,11 +79,7 @@ jobs:
7979
sed -i 's/^version = ".*"/version = "${{ steps.version.outputs.new_version }}"/' "$crate"
8080
done
8181
82-
# Update internal dependencies
83-
find . -name "Cargo.toml" -exec sed -i \
84-
-e 's/redis-cloud = { version = ".*"/redis-cloud = { version = "${{ steps.version.outputs.new_version }}"/' \
85-
-e 's/redis-enterprise = { version = ".*"/redis-enterprise = { version = "${{ steps.version.outputs.new_version }}"/' \
86-
{} \;
82+
# Note: Internal dependencies use path references in workspace, no need to update versions
8783
8884
- name: Generate changelog
8985
run: |

0 commit comments

Comments
 (0)