-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Feature request: publish git release tags during NPM package release process #51553
Comments
Something must have broken in the release process, as there seems to be no GitHub release and no release notes. |
This is supposed to be automatic (you can see git tags for all the prior releases) but something must have broken recently. |
@DanielRosenwasser do you wanna add "Review and undraft the automatically made github release" to the release handbook? π We have a draft release over here just waiting for someone to check it over and undraft it, and I believe publishing that triggers the git tag, too. |
(Actually, literally every 4.9 release is sitting in draft state, waiting for human review T.T ) |
Thanks @RyanCavanaugh @weswigham - I see the 4.9.3 tag now π It depends on what works for your checklists and processes, but I've found that configuring GitHub Actions to publish-on-(tag|release) can be useful -- basically providing some level of linkage between the tag/release and the published package. One tricky aspect is handling build/infrastructure failures gracefully, and/or testing the publication workflow before a 'live' package release. I don't know what NPM offers there, but in the Python ecosystem, PyPi provides a 'test' instance so that the entire package build and upload process can be checked before go-live. |
It's all really automated, it's just the UI on the release queue screen isn't great for editing a large blob of markdown, so the pipeline makes the release as a draft so a human can go edit the non-final GitHub release copy template with missing information and click "undraft". We now have a reminder on the job queue page that it needs to be done just after it's queued. π If anyone from azure pipelines/GitHub actions is reading this by pure chance: queue time variable fields with configurable input box types and a markdown input box type would be a nice enhancement. |
Thanks @weswigham - manual edits to the markup for releases displayed on GitHub makes sense -- and for a popular package, manual review steps in general seems sensible too! Either way, if |
@weswigham please consider reopening. 5.0.3 was published hours ago and there still isn't a tag. |
@weswigham please consider reopening. 5.1.6 was published days ago and there still isn't a tag (#54881). |
Once again we have the problem of a package release having been published without the maintainers creating a Git tag. @ahejlsberg @sandersn @andrewbranch @RyanCavanaugh @DanielRosenwasser @jakebailey please reopen this issue. There is clear evidence that your current system doesn't work. |
Once again we have the problem of the 5.8.3 package release having been published without the maintainers creating a Git tag. @ahejlsberg @sandersn @andrewbranch @RyanCavanaugh @DanielRosenwasser @jakebailey please reopen this issue. There is clear evidence that your current system doesn't work. |
Suggestion
π Search Terms
git
tag
release
β Viability Checklist
My suggestion meets these guidelines:
β Suggestion
As part of the process for release of
typescript
packages to NPM, push a correspondinggit
tag to this repository.π Motivating Example
Version 4.9.3 of
typescript
is currently available on NPM and it is not immediately clear whatgit
commit version that corresponds to in this repository.π» Use Cases
This would be useful during dependency and upgrade review - for example, when looking for potential functionality, compatibility, performance, security and transitive dependency implications of a version upgrade.
With the current approach,
git
tags are published, although that occurs some variable amount of time after package publication to NPM taken place. It's possible that some users do upgrade before agit
tag is published -- and it's also possible that they could review the contents of the release themselves to perform non-source-controlled review.The text was updated successfully, but these errors were encountered: