~juju-qa/ubuntu/xenial/juju/xenial-2.0-beta3

« back to all changes in this revision

Viewing changes to src/gopkg.in/inconshreveable/log15.v2/RELEASING.md

  • Committer: Martin Packman
  • Date: 2016-03-30 19:31:08 UTC
  • mfrom: (1.1.41)
  • Revision ID: martin.packman@canonical.com-20160330193108-h9iz3ak334uk0z5r
Merge new upstream source 2.0~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# log15's release strategy
2
 
 
3
 
log15 uses gopkg.in to manage versioning releases so that consumers who don't vendor dependencies can rely upon a stable API.
4
 
 
5
 
## Master
6
 
 
7
 
Master is considered to have no API stability guarantee, so merging new code that passes tests into master is always okay.
8
 
 
9
 
## Releasing a new API-compatible version
10
 
 
11
 
The process to release a new API-compatible version is described below. For the purposes of this example, we'll assume you're trying to release a new version of v2
12
 
 
13
 
1. `git checkout v2`
14
 
1. `git merge master`
15
 
1. Audit the code for any imports of sub-packages. Modify any import references from `github.com/inconshrevealbe/log15/<pkg>` -> `gopkg.in/inconshreveable/log15.v2/<pkg>`
16
 
1. `git commit`
17
 
1. `git tag`, find the latest tag of the style v2.X.
18
 
1. `git tag v2.X+1` If the last version was v2.6, you would run `git tag v2.7`
19
 
1. `git push --tags git@github.com:inconshreveable/log15.git v2`