mirror of
https://github.com/semver/semver.git
synced 2026-07-11 03:53:53 -05:00
[GH-ISSUE #245] Nightly Builds #6160
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @coreyavis on GitHub (Feb 19, 2015).
Original GitHub issue: https://github.com/semver/semver/issues/245
I didn't see any information on how nightly builds should be denoted.
@FichteFoll commented on GitHub (Feb 19, 2015):
See discussion in #200 and similar issues.
@jwdonahue commented on GitHub (Dec 8, 2017):
@coreyavis, I have managed to handle this several different ways over the years. My best advice is to append a -prerelease tag of some kind on all nightly builds, plus a build metadata tag. A common practice looks something like:
ProductName.0.0.patch-a.nightly+BranchName.MachineName.
Always bump the patch number and pin the major and minor numbers to zero. You can optionally encode version provenance in the BranchName or append two or three dot separated numbers to build meta-data.
Other options:
ProductName.BranchName.Nightly.semver_string
Nightly.BranchName.ProductName.semver_string
The point here is that night build processes are an internal thing and there would normally be an additional release step that selects a tested build, signs and packages it, so nightlies really aren't within the scope of the standard. Just apply the standard to your processes in whatever ways seem most sane for you organization.
Unless you have any further questions, please close this issue at your earliest possible convenience.