You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Change the PowerShell version ($PSVersionTable.PSVersion) to 6.0.0-alpha.<build> #1369
I think we should also align our nuget packages versions that we produce on appveyor.
It's controlled by 2 things: the first part ("6.0.0-*") is "version" in all our project.json files.
The second part ("alpha.") is a "VersionSuffix" from Publish-NugetFeed
Now, because we have 2 build systems (appveyor and travis ci) it's all becoming a little bit more tricky. We cannot (easily) sync build numbers between them.
I think it's fine for nuget packages for SDK purposes: we publish only from appveyor at the moment. So there is no ambiguity.
However, using build numbers as a naming sequence is inconvenient for Windows and Linux. They would have two different sequence without relations to each other. It would be more convinient to have the same version, if they build from the same commit.
I propose use some approach similar to what James Truher (@JamesWTruher) took for $PSVersionTable.GitCommitId: approach based on the number of commits. It will allow us generate consistent sequence on both CI systems without additional synchronization.
Another related thing I'd like to discuss is the format of naming.
I expect that we will do multiply releases under "alpha" state of the product. For instance, we currently have milestones 6.0.0-alpha.8 and 6.0.0-alpha.9. It make a lot of sense for me. I think we should re-use this name pattern for product versions as well. SemVer allows making constructions like 6.0.0-alpha.8.21300 (where 21300 is the build number). This way, nobody needs to map build numbers into release tags/dates by hand, like people do now https://www.powershellgallery.com/packages/PSVersion/1.5
Hemant Mahawar (@HemantMahawar) and I think we should just ditch the .8. and replace it with just the build number. Hemant Mahawar (@HemantMahawar) also thinks, if there's some way to push AppVeyor to do this, that we should round up for "real releases" (especially production ready releases) so that those releases are easier to identify/remember.
Activity
vors commentedon Jul 21, 2016
I think we should also align our nuget packages versions that we produce on appveyor.
It's controlled by 2 things: the first part ("6.0.0-*") is "version" in all our project.json files.
The second part ("alpha.") is a "VersionSuffix" from
Publish-NugetFeedPowerShell/build.psm1
Line 745 in 0a87a3d
Now, because we have 2 build systems (appveyor and travis ci) it's all becoming a little bit more tricky. We cannot (easily) sync build numbers between them.
I think it's fine for nuget packages for SDK purposes: we publish only from appveyor at the moment. So there is no ambiguity.
However, using build numbers as a naming sequence is inconvenient for Windows and Linux. They would have two different sequence without relations to each other. It would be more convinient to have the same version, if they build from the same commit.
I propose use some approach similar to what James Truher (@JamesWTruher) took for
$PSVersionTable.GitCommitId: approach based on the number of commits. It will allow us generate consistent sequence on both CI systems without additional synchronization.Another related thing I'd like to discuss is the format of naming.
I expect that we will do multiply releases under "alpha" state of the product. For instance, we currently have milestones
6.0.0-alpha.8and6.0.0-alpha.9. It make a lot of sense for me. I think we should re-use this name pattern for product versions as well. SemVer allows making constructions like6.0.0-alpha.8.21300(where 21300 is the build number). This way, nobody needs to map build numbers into release tags/dates by hand, like people do now https://www.powershellgallery.com/packages/PSVersion/1.5joeyaiello commentedon Jul 21, 2016
Hemant Mahawar (@HemantMahawar) and I think we should just ditch the .8. and replace it with just the build number. Hemant Mahawar (@HemantMahawar) also thinks, if there's some way to push AppVeyor to do this, that we should round up for "real releases" (especially production ready releases) so that those releases are easier to identify/remember.
vors commentedon Jul 21, 2016
So how the nuget package from something between alpha.8 and alpha.9 should be named?