Skip to content

Conversation

@tarcieri
Copy link
Member

Get rid of workspace-level config and tag names from universal-hashes

Get rid of workspace-level config and tag names from `universal-hashes`
@codecov
Copy link

codecov bot commented Feb 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.93%. Comparing base (7d4d545) to head (887249e).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1201   +/-   ##
=======================================
  Coverage   86.93%   86.93%           
=======================================
  Files         182      182           
  Lines       20528    20528           
=======================================
  Hits        17845    17845           
  Misses       2683     2683           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tarcieri tarcieri merged commit 4d731ee into master Feb 11, 2026
31 checks passed
@tarcieri tarcieri deleted the trusted-publishing-tweaks branch February 11, 2026 01:16
CRATE_TOML_VERSION=$(grep "^version =" Cargo.toml | cut -d'"' -f2)
echo $CRATE_TOML_VERSION
[[ $CRATE_TOML_VERSION == $CRATE_VERSION ]]
[[ $CRATE_TOML_VERSION == $TAG_NAME ]]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tested this config? I think $CRATE_TOML_VERSION contains X.Y.Z, while $TAG_NAME contains vX.Y.Z, so the equality check will be always false.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not yet, this was adapting the other config to a single-crate repo

Copy link
Member

@newpavlov newpavlov Feb 11, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to keep the CRATE_VERSION=${TAG_NAME##*-v} part and modify it slightly or tweak the equality check to prepend v to $CRATE_TOML_VERSION.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants