-
Notifications
You must be signed in to change notification settings - Fork 149
Support multiple major.minor versions #3
Comments
This come up in a Gitter chat, but instead of putting meaning onto the directory it might be useful to use semantic folder names and embed the version meaning in So, in this case:
Or:
Where |
@RyanCavanaugh , @andy-ms : is there significance to the "v" prefix (or any other special patterns?). I.e., suppose I want to have a regular version as well as a beta version. In our case, we already have an Thanks! |
There isn't any support for tagged releases right now. I suppose we could add support for version numbers like |
@RyanCavanaugh , could you help me understand your proposal a bit more? If I understood your comment correctly, I would create both a (One appendment to your idea, that might make it "just work": if you're thinking of having a hyphen denote the tag, should my default folder be named Thanks! |
(@RyanCavanaugh , please see the comment above -- and note that I edited it since I first saw it, so please look at it on GitHub rather than in your email) |
Tags and versions are independent. The |
So what would my folder structure and usage look like? For folder structure, would I put 1.1 and 1.1-beta side-by-side as siblings (and no files at the root), like @blakeembrey had mentioned in an earlier ocmment?
And then the tool would look through, and create two package.json-s: one that has a version And then for usage, for the default, a developer would just do:
And for beta:
correct? |
The version number would be
The
I think we'd only support |
I think the compelling reason is... well, to make it easy to try out beta :-). From the standpoint of how the tool would run its publishing automation, I think all it would need to do differently is add a At least for Office.js, we have an evergreen CDN (https://appsforoffice.microsoft.com/lib/beta/hosted/office.js) where the JS files are hosted, so version numbers don't mean much -- no one would know that they need to do Having the tag also makes it easy to view (& copy-paste) the latest file via unpkg.com:
|
It all sounds doable, but this thing publishes thousands of packages and adding code to handle a single thing isn't a totally great trade-off. Since you're internal anyway we can just give you publish rights to |
We should allow folder structures like this:
This should parse the major and optional minor version number from the folder name and generate versioned packages published under the same name as the parent folder.
The text was updated successfully, but these errors were encountered: