Skip to content

Commit cb39c73

Browse files
authored
Fixing version bump loop (#28)
1 parent 9c690b4 commit cb39c73

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,11 @@ jobs:
5757
- name: Bump version in all crates
5858
id: bump_version
5959
run: |
60-
# Bump version in all workspace members
61-
for crate in datafusion/bio-format-*/Cargo.toml; do
62-
echo "Bumping version in $crate"
63-
cargo set-version --manifest-path "$crate" --bump ${{ inputs.version_type }}
64-
done
60+
# Bump version once - cargo set-version updates all workspace members
61+
echo "Bumping version for all workspace members"
62+
cargo set-version --manifest-path datafusion/bio-format-core/Cargo.toml --bump ${{ inputs.version_type }}
6563
66-
# Get the new version from the first crate
64+
# Get the new version
6765
NEW_VERSION=$(grep -m 1 '^version = ' datafusion/bio-format-core/Cargo.toml | sed 's/version = "\(.*\)"/\1/')
6866
echo "version=$NEW_VERSION" >> $GITHUB_OUTPUT
6967
echo "New version: $NEW_VERSION"

0 commit comments

Comments
 (0)