docs: Streamlined distribution docs

This commit is contained in:
max furman 2019-02-21 15:27:55 -08:00
parent c23eb88a4f
commit bdc05d40e6

View file

@ -16,7 +16,19 @@ e.g. `v1.0.2`
`-rc*` suffix. e.g. `v1.0.2-rc` or `v1.0.2-rc.4` `-rc*` suffix. e.g. `v1.0.2-rc` or `v1.0.2-rc.4`
1. Find the most recent tag. 1. **Commit all changes.**
Make sure that the local checkout is up to date with the remote origin and
that all local changes have been pushed.
```
git pull --rebase origin master
git push
```
2. **Tag it!**
1. **Find the most recent tag.**
``` ```
git fetch --tags git fetch --tags
@ -24,9 +36,9 @@ e.g. `v1.0.2`
``` ```
The new tag needs to be the logical successor of the most recent existing tag. The new tag needs to be the logical successor of the most recent existing tag.
See [versioning](./README.md#versioning) section for more information on version numbers. See [versioning](#versioning) section for more information on version numbers.
2. Select the next tag (but don't actually tag anything yet!!). 2. **Select the next tag (but don't actually tag anything yet!!).**
Is the new release a *release candidate* or a *standard release*? Is the new release a *release candidate* or a *standard release*?
@ -44,17 +56,8 @@ e.g. `v1.0.2`
is a release candidate, say `v1.0.2-rc.3`, then the version of the next is a release candidate, say `v1.0.2-rc.3`, then the version of the next
standard release should be `v1.0.3`. standard release should be `v1.0.3`.
3. Update the remote origin with your commits.
Make sure that the local checkout is up to date with 3. **Create a local tag.**
with the remote origin and that all local changes have been pushed.
```
git pull --rebase origin master
git push
```
4. Create a local tag.
``` ```
git tag v1.0.3 # standard release git tag v1.0.3 # standard release
@ -62,7 +65,7 @@ e.g. `v1.0.2`
git tag v1.0.3-rc.1 # release candidate git tag v1.0.3-rc.1 # release candidate
``` ```
5. Push the new tag to the remote origin. 4. **Push the new tag to the remote origin.**
``` ```
git push origin tag v1.0.3 # standard release git push origin tag v1.0.3 # standard release
@ -85,3 +88,8 @@ e.g. `v1.0.2`
* **step-ca_1.0.3_darwin_amd64.tar.gz**: tarball containing a statically compiled darwin binary. * **step-ca_1.0.3_darwin_amd64.tar.gz**: tarball containing a statically compiled darwin binary.
*All Done!* *All Done!*
## Versioning
We use [SemVer](http://semver.org/) for versioning. For the versions available,
see the [tags on this repository](https://github.com/smallstep/certificates).