aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAinar Garipov <ainar-g@yandex.ru>2019-11-08 20:05:14 +0300
committerBryan C. Mills <bcmills@google.com>2019-11-15 21:00:52 +0000
commit97ded1e093da2a216dd3c479bdb3846e0976d52a (patch)
treed10c7f8cf176558a3403424e40f134692c428de2
parent3780780ce6687dee167c70df957fc959fa96afda (diff)
content: ensure better semver versions in the v2 modules article
The Semantic Versioning specification at https://semver.org uses dots to separate the numeric part of a pre-release version from the non-numeric to ensure that they sort correctly. Make the article comply. Change-Id: I7a366e4c180f5048b1cc19cdf3e66c515989e4ab Reviewed-on: https://go-review.googlesource.com/c/blog/+/206157 Reviewed-by: Jean de Klerk <deklerk@google.com> Reviewed-by: Jay Conrod <jayconrod@google.com> Reviewed-by: Bryan C. Mills <bcmills@google.com>
-rw-r--r--content/v2-go-modules.article4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/v2-go-modules.article b/content/v2-go-modules.article
index 634c3dc..db2c0cd 100644
--- a/content/v2-go-modules.article
+++ b/content/v2-go-modules.article
@@ -150,8 +150,8 @@ pre-release suffix), we can develop and make breaking changes as we decide on
the new API. If we want users to be able to experiment with the new API before
we officially make it stable, we can publish a `v2` pre-release version:
- $ git tag v2.0.0-alpha1
- $ git push origin v2.0.0-alpha1
+ $ git tag v2.0.0-alpha.1
+ $ git push origin v2.0.0-alpha.1
$
Once we are happy with our `v2` API and are sure we don't need any other breaking