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
Alternative tag format for prebuild uploads #196
Comments
@daviwil I'm curious, what's your process when releasing |
That's a great question, I'd have to ask @Tyriar about that. I forked node-pty to make a node-pty-prebuilt package using prebuild, so I let prebuild create the tag/release after I set the new version in package.json. We're investigating how to migrate the prebuild support back into node-pty itself so that's why I'm looking for a way to accommodate it's existing tagging scheme. |
@daviwil I'm sure you have your reasons for picking tags without the |
I think node-pty used to have a |
@ralphtheninja typically for
I never included the |
Pretty much https://github.com/Tyriar/node-pty/tags?after=0.4.1, that's the first release after forking. |
I personally use For
This will trigger After the binaries have been built, then we do |
I don't mind having a custom tag format, but how do you want to get |
Sorry if this turned into some meta discussion 😁 We can definitely add the format thingie. |
In the moment of writing this I answered the question myself
|
@mathiask88 yep, that's what I had in mind :) |
Also given this discussion I'm fine with changing to a v prefix considering npm recommends it with |
It'd definitely be simpler to follow the |
I think I'll close this for now since node-pty might use the |
Hey folks! Quick question: what do you think about having a parameter that allows the user to define an alternative format for their release tags when prebuilds get uploaded to GitHub. This would allow projects that don't use the
v1.0.0
tag format with thev
prefix to continue tagging in their own way while uploading prebuilds. An example of this is node-pty which doesn't add thev
prefix to their tags.Would it be enough to allow the specification of a
--tag-prefix
so that someone could clear out thev
prefix if they needed to, or should we go for a full--tag-format
which allows an arbitrary format string, maybe something like "v{VERSION}"?Looks like the code that controls this is here. It'd need to be updated in prebuild-install too. If you think it's a good idea I'll be happy to send PRs to both projects to enable this.
Thanks!
The text was updated successfully, but these errors were encountered: