Skip to content

Commit

Permalink
Fix release check and readme path
Browse files Browse the repository at this point in the history
  • Loading branch information
Kimahriman committed May 31, 2024
1 parent 451d8a3 commit 3a7db22
Show file tree
Hide file tree
Showing 3 changed files with 260 additions and 272 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: compare git tag with cargo metadata
run: |
PUSHED_TAG=${GITHUB_REF##*/}
CURR_VER=$( grep version crates/hdfs-native/Cargo.toml | head -n 1 | awk '{print $3}' | tr -d '"' )
CURR_VER=$( grep version rust/Cargo.toml | head -n 1 | awk '{print $3}' | tr -d '"' )
if [[ "${PUSHED_TAG}" != "v${CURR_VER}" ]]; then
echo "Cargo metadata has version set to ${CURR_VER}, but got pushed tag ${PUSHED_TAG}."
exit 1
Expand Down
Loading

0 comments on commit 3a7db22

Please sign in to comment.