12 Commits

Author SHA1 Message Date
Tom Jenkinson ef0d09c30d bail if new tag does not directly follow previous version (#4855)
* bail if new tag does not directly follow previous version

This is to try and prevent typos that could trigger an incorrect version publish into the future that cannot be undone.

refs #4841

* do not bail if tag exists, because it would for real tags
2022-08-26 22:36:47 +01:00
Tom Jenkinson 729a36d409 switch to default print width 2020-12-24 13:31:43 +00:00
Tom Jenkinson 7342d4a6db run 'npm run prettier' 2020-12-23 20:15:35 +00:00
Tom Jenkinson 115ffdaa14 alpha => canary 2020-11-03 17:52:28 +00:00
Tom Jenkinson f6212deca1 always check version is greater than previous 2020-07-01 18:02:57 +01:00
Rob Walch 9a7aa0b624 Fix semver.inc 2020-06-30 14:58:57 -04:00
Tom Jenkinson d058eddaf8 switch to alpha instead of canary and ensure alphas have lower precedense than manual tags
Switching to alpha instead of canary because the semver sorting algorithm is alphabetic and the automated release should always have a lower precendence than manual ones.

Always prefix to the last version even when it's a prerelease so that the ordering is correct, and so that automated alpha releases are able to take precendence over manual ones when new commits are pushed.

Make the prefix `0.alpha` instead of just `alpha` so that it's easy to check if a manual version could be lower than an existing alpha version without dissalowing things like `-rc.0`

See discussion in #2822
2020-06-23 18:10:17 +01:00
Rob Walch 82fbefd9ce Tag canaries as alpha releases and append alpha revision to latest version in ci builds 2020-06-22 17:03:53 -04:00
Rob Walch 5517830271 Add semver meta tags to latest (pre-)release version for deployments 2020-06-21 13:01:53 -04:00
Tom Jenkinson a9194386f0 require tag to start with letter 2019-06-23 16:22:24 +02:00
Tom Jenkinson 19b0c60e61 add missing v
Co-Authored-By: azu <azu@users.noreply.github.com>
2019-06-23 16:18:50 +02:00
Tom Jenkinson 591d59bd34 support preprelease publishes from git tag
in a similar way to how stable releases work
2019-06-23 12:41:02 +02:00