这是indexloc提供的服务,不要输入任何密码
Skip to content

fix: use rev-list --tags for more accurate tag detection #180

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 31, 2025

Conversation

jkelleyrtp
Copy link
Contributor

@jkelleyrtp jkelleyrtp commented Jan 31, 2025

Fixes #179

Output now is correct for our repo.

❯ cargo workspaces changed
info looking for changes since v0.6.2
dioxus-cli
dioxus-core
dioxus-html
dioxus-router
dioxus-router-macro
dioxus-signals
dioxus-web

@jkelleyrtp jkelleyrtp marked this pull request as ready for review January 31, 2025 01:44
@pksunkara pksunkara merged commit e07eac6 into pksunkara:master Jan 31, 2025
3 of 7 checks passed

let sha_regex = Regex::new("^([0-9a-f]{7,40})(-dirty)?$").expect(INTERNAL_ERR);
let tag_regex =
Regex::new("^((?:.*@)?v?(.*))-(\\d+)-g([0-9a-f]{7,40})(-dirty)?$").expect(INTERNAL_ERR);
Copy link
Owner

Choose a reason for hiding this comment

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

Wouldn't removing this use all kinds of tags instead of just version ones?

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.

cargo workspaces changed uses the wrong tag as comparison
2 participants