8000 feat(cli, next): support pre-release versions by augustoccesar · Pull Request #204 · mentimeter/linkup · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat(cli, next): support pre-release versions #204

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 7 commits into from
Mar 21, 2025

Conversation

augustoccesar
Copy link
Collaborator
@augustoccesar augustoccesar commented Mar 18, 2025

Add support to pre-release versions on versioning.
Right now the only pre-release that will exist is 0.0.0-next-<timestamp>-<hash>, so if there is a pre-release part of the version, we can ignore the base semver.

PR for generating the pre-releases: #205

Closes SHIP-2016
Related to SHIP-2057

@augustoccesar augustoccesar self-assigned this Mar 18, 2025
@augustoccesar augustoccesar changed the title feat: support pre-release versions feat(cli)[next]: support pre-release versions Mar 18, 2025
@augustoccesar augustoccesar changed the title feat(cli)[next]: support pre-release versions feat(cli, next): support pre-release versions Mar 18, 2025
Comment on lines +40 to +47
(Some(_), None) => {
// pre-release is always lower than stable
Some(std::cmp::Ordering::Less)
}
(None, Some(_)) => {
// stable is always higher than pre-release
Some(std::cmp::Ordering::Greater)
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is more to protect against any accidental updates from beta channel into stable, and the other way around.
It shouldn't happen, since the available_update fetches from the same channel. But might be good to have.

@augustoccesar augustoccesar force-pushed the augustoccesar/support-pre-release-versions branch from bb5dfee to fa3727b Compare March 18, 2025 08:46
@augustoccesar augustoccesar marked this pull request as ready for review March 18, 2025 10:24
@augustoccesar augustoccesar requested a review from a team March 18, 2025 10:24
@augustoccesar augustoccesar marked this pull request as draft March 18, 2025 12:03
@augustoccesar augustoccesar marked this pull request as ready for review March 18, 2025 12:35
@augustoccesar augustoccesar merged commit 2f6ec59 into next Mar 21, 2025
6 checks passed
@augustoccesar augustoccesar deleted the augustoccesar/support-pre-release-versions branch March 21, 2025 13:22
augustoccesar added a commit that referenced this pull request Apr 9, 2025
This will be merged to release `3.0.0`.

Closes SHIP-2057

### Changelog:
- Drop Caddy as a dependency and use self-signed certificates.
  - #201
  - #207
  - #212 
  - #215 
  - #217 
- Drop dnsmasq as a dependency and use a local Hickory server.
  - #219
  - #224
- Support pre-release (beta) versions based on changes to `next` branch.
  - #204
  - #205
  - #211 
  - #213 
  - #214 
  - #221
- Use anyhow for application errors instead of "global" thiserror enum.
  - #218 
- Stop relying on pidfiles for background services
  - #222 
- Move installation script from Bash to Python
  - #223 
  - #226
- Improve possible orphans resolution
  - #225  

Thank you @diegomartinrecillas @ludwigbacklund @solveigsg12 and
@jauniusmentimeter for beta testing it! ❤️
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0