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

Snapshot package versions not always increasing with newer builds #270

Open
julianbrost opened this issue Dec 5, 2022 · 0 comments
Open
Assignees

Comments

@julianbrost
Copy link

The version number of snapshot packages looks something like 0.10.0+3.gade90d0-1670231195+debian11 where the +3 in the middle is the number of commits since the last tag. Some projects force push to the branch used to build snapshot packages from, resulting in this number not being increased. This means the git commit hash is used for comparing two snapshot versions and this is quite likely to not increase with newer versions.

Affected repos:

There may be more projects affected, I haven't checked all, just listed the ones where I know they use this snapshot/nightly branch.

These should ideally just push a new commit on top so that the "commits since" number grows leading to increasing version numbers. (The alternative would be to do special handling for this type of repo in the snapshot package version generation, but it would certainly be nicer if now special handling was needed, so I'd say just adding a commit is nicer. This also allows you to just do a regular pull when using the project from a git checkout.)

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

No branches or pull requests

2 participants