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

Releasing older version needs special tagging mechanism #627

Open
gurkanindibay opened this issue Mar 25, 2021 · 1 comment
Open

Releasing older version needs special tagging mechanism #627

gurkanindibay opened this issue Mar 25, 2021 · 1 comment

Comments

@gurkanindibay
Copy link
Contributor

When creating releases Github put the latest tag according to the date of the tag. If the tagged version is an older one, older release is being labelled as latest which may cause confusion among users. I haven't tried but when tagging, giving date is possible according to the stackoverflow post below. We should update our checklists including this policy
https://stackoverflow.com/questions/22822586/swap-latest-release-on-github

@hanefi
Copy link
Member

hanefi commented Mar 25, 2021

For the sake of completeness, here is the suggested solution on the SO link.

Set the commit date to an earlier time before creating the tag.
GIT_COMMITTER_DATE="2013-12-31 00:00" git tag -a v0.1.0.1 b217332279 -m "release 0.1.0.1"

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