mirror of
https://github.com/semver/semver.git
synced 2026-07-11 05:12:48 -05:00
Non-code changes between releases #185
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 @Maikuolan on GitHub (Jul 4, 2015).
Hi,
For a particular project of mine, I'm not currently using semver, but what I'm currently using is adequately close enough to semver that I feel that it should be possible to migrate over to semver from what I'm currently using if I was to plan it correctly, and I'm thinking about doing that.
Quick question.
For a project of a nature that may potentially contain changes between individual releases that don't have anything to do with code (such as, for example, changes to documentation, configuration defaults or periferal files that the code uses, but which in and of themselves, strictly speaking, aren't code), how would you go about incrementing your version numbers?
Say, for example, Project X is versioned as 1.2.3 at current release, and then a month later, it's re-released with some modified documentation (such as i18n/i10n README translations, for example) or some other modified internal files that aren't code and don't contain code (such as signature files, as could be the case for anti-virus programs, for example). Would this re-release be considered a "patch", and would it therefore be versioned as 1.2.4? Could I version it as something like 1.2.3-r1 (where "r" == release number)? Does semver encourage a different approach, or is there such an approach recommended by semver at all? Or would I be better to simply use my own discretion (and would I be compliant with semver recommendations if I did)?
Thanks. :-)
Kind Regards,
Caleb M / Maikuolan.
@FichteFoll commented on GitHub (Jul 5, 2015):
Increase patch. Patch is the smallest release identifier number.
1.2.3-r1is a pre-release and the exact opposite of what you want.@Maikuolan commented on GitHub (Jul 5, 2015):
Cheers FichteFoll; I appreciate the help. :-)