File: README.dev.md

package info (click to toggle)
geoip 1.6.7-2~bpo7%2B1
  • links: PTS
  • area: main
  • in suites: wheezy-backports-sloppy
  • size: 1,044 kB
  • sloc: ansic: 17,012; cpp: 1,522; perl: 200; makefile: 93; sh: 27; awk: 13
file content (43 lines) | stat: -rw-r--r-- 1,548 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
## Releasing

* Make sure the `ChangeLog` is up to date.
* Run the following:

        ./bootstrap
        ./configure
        make check -j 4
        sudo make install

* Edit `configure.ac` and bump the version
* `make dist`
* Check that you can untar this release and install it
* `git tag v{X.Y.Z}`
* `git push --tags`
* Make a new release on GitHub at https://github.com/maxmind/geoip-api-c/releases
    * Upload the tarball you just made
    * Edit said release to include the changes for this release on GitHub


## Ubuntu PPA packages

We can probably script most of this but this is the current process:

1. Type `dch -i` and add the appropriate `debian/changelog` entry.
2. Move tarball created above to a temp directory and
   name it `geoip_1.?.?.orig.tar.gz`.
3. Unpack tarball.
4. Copy `debian` directory from Git. (We intentionally do not include it in
   the tarball so that we don't interfere with Debian's packaging.)
5. Update `debian/changelog` for the dist you are releasing to, e.g.,
   precise, trusty, vivid, and prefix the version with the a `~` followed
   by the dist name, e.g., `1.6.3-1+maxmind1~trusty`.
6. Run `debuild -S -sa -rfakeroot -k<KEY>`. (The key may not be necessary
   if your .bashrc is appropriately )
7. Run `lintian` to make sure everything looks sane.
8. Run `dput ppa:maxmind/ppa ../<source.changes files created above>` to
   upload.
9. Repeat 4-8 for remaining distributions.

## Homebrew

* Update the [Homebrew formula](https://github.com/Homebrew/homebrew/blob/master/Library/Formula/geoip.rb).