Create releases for old commits? #23535
-
Beta Was this translation helpful? Give feedback.
Replies: 15 comments 8 replies
-
Hi @gpbeta, If you are unable to tag the commit that you want in the GitHub web interface, you can still tag the commit manually using the Git command line client. Then you can push that tag up to your GitHub repository and make a release based on that tag. You can also create a tag using the GitHub API as long as you know the SHA of the object that you’re tagging. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Thank you for the solution, it solved my problem :slight_smile: |
Beta Was this translation helpful? Give feedback.
-
You’re very welcome, @gpbeta! I’m glad to hear it. :slight_smile: |
Beta Was this translation helpful? Give feedback.
-
Is it on the roadmap to fix this issue, to atleast allow for fuzzy searching? Seems clunky to have to go the API route for a commit more than a few days old. |
Beta Was this translation helpful? Give feedback.
-
Looking forward to it! |
Beta Was this translation helpful? Give feedback.
-
Hello, We were also struggling with this limitation, but here is a workarround to manage to create a release on an old commit directly from Github.com :
Enjoy |
Beta Was this translation helpful? Give feedback.
-
Simple and fast. Tank you. |
Beta Was this translation helpful? Give feedback.
-
There seems to be support for a “target” URL query. Simply click “new release” and add ?target=<hash> to the URL. |
Beta Was this translation helpful? Give feedback.
-
@Nixinova that seemed like a great workaround, BUT even though the UI shows the from target=, the actual tag created is from the latest, so beware!! |
Beta Was this translation helpful? Give feedback.
-
Yes, this process is terribly cumbersome. I should be able to put any valid gitref into the Target not just a choice of branches and a half-dozen recent commits. It boggles my mind that even tags cannot be a Target value given that GA releases are often made from previous RC tags. I.e. release 2.0.0, tagged In fact there should be a specific workflow button on any release to create a new release from it. I.e. to promote a |
Beta Was this translation helpful? Give feedback.
-
This should be the accepted solution (well, workaround, really), IMHO. |
Beta Was this translation helpful? Give feedback.
-
I would love to see this feature fixed to enable folks on our team that are involved with the release, but not with the repo or command line, to be able to specify and document a release. The feature is quite limited in that:
I would hope that one could copy a full or partial SHA from the commits list page, recent or not, and set it as the target. |
Beta Was this translation helpful? Give feedback.
-
Allow searching the recent commits with at least the full SHA. Just missed the threshold by 1 commit and now trying with all other cumbersome workarounds. Fix this at the earliest. Either load more commits on demand when scrolled to the end or allow searching the commits with SHA. Regards, |
Beta Was this translation helpful? Give feedback.
-
The easiest solution I found is to change page source code to destinated commit hash.
|
Beta Was this translation helpful? Give feedback.
-
Wondering if this is ever going to be addressed formally through GitHub releases page? |
Beta Was this translation helpful? Give feedback.
Hi @gpbeta,
If you are unable to tag the commit that you want in the GitHub web interface, you can still tag the commit manually using the Git command line client. Then you can push that tag up to your GitHub repository and make a release based on that tag.
You can also create a tag using the GitHub API as long as you know the SHA of the object that you’re tagging.
Thanks!