Skip to content
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

feat(verhandle): properly provide versioned semantics #72

Merged
merged 3 commits into from
Apr 8, 2024
Merged

Conversation

Gankra
Copy link
Contributor

@Gankra Gankra commented Apr 8, 2024

  • Require github tags to be parseable by axotag (or ignore the release)
  • Provide a new LatestMaybePrerelease UpdateRequest mode
  • Use Versions more freely in the code
  • Prevent latest from downgrading

@Gankra
Copy link
Contributor Author

Gankra commented Apr 8, 2024

requires axodotdev/axotag#5

&release.tag_name,
)?;
let version = match announce.release {
axotag::ReleaseType::None => unreachable!("parse_tag should never return None"),
Copy link
Contributor

Choose a reason for hiding this comment

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

Right, from the changes in axodotdev/axotag#5?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

afaict it could in fact never be None, but the compiler literally yelled this at me after a refactor, so, now it's True (and I didn't want to redesign the API).

@mistydemeo
Copy link
Contributor

Checking the tests: it looks like this broke downgrading to a specific release. I'll take a look.

* Require github tags to be parseable by axotag (or ignore the release)
* Provide a new LatestMaybePrerelease UpdateRequest mode
* Use Versions more freely in the code
* Prevent latest from downgrading
axoupdater/src/lib.rs Show resolved Hide resolved
@Gankra Gankra merged commit 0c26712 into main Apr 8, 2024
22 of 25 checks passed
@Gankra Gankra deleted the verhandle branch April 8, 2024 17:26
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