Skip to content

Commit

Permalink
bump v0.3.2 stable
Browse files Browse the repository at this point in the history
  • Loading branch information
mreiferson committed Feb 8, 2015
1 parent 51d0002 commit 38edc24
Show file tree
Hide file tree
Showing 6 changed files with 45 additions and 8 deletions.
26 changes: 25 additions & 1 deletion ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,33 @@

## Binaries

### 0.3.2 - 2015-02-08

**Upgrading from 0.3.1**: Binaries contain no backwards incompatible changes however as of this
release we've updated our official Docker images.

We now provide a single Docker image [`nsqio/nsq`](https://registry.hub.docker.com/u/nsqio/nsq/)
that includes *all* of the NSQ binaries. We did this for several reasons, primarily because the
tagged versions in the previous incarnation were broken (and did not actually pin to a version!).
The new image is an order of magnitude smaller, weighing in around 70mb.

In addition, the impetus for this quick release is to address a slew of reconnect related bug fixes
in the utility apps (`nsq_to_nsq`, `nsq_to_file`, etc.), for details see the [`go-nsq` `v1.0.3`
release notes](https://github.com/bitly/go-nsq/releases/tag/v1.0.3).

Features:

* #534/#539/#540 - single Dockerfile approach (thanks @paddyforan)

Bugs:

* #529 - nsqadmin: fix more `#ephemeral` topic deletion issues
* #530 - nsqd: fix the provided sample config file (thanks @jnewmano)
* #538 - nsqd: fix orphaned ephemeral channels (thanks @adamsathailo)

### 0.3.1 - 2015-01-21

**Upgrading from 0.2.31**: No backwards incompatible changes.
**Upgrading from 0.3.0**: No backwards incompatible changes.

This release contains minor bug fixes and feature additions.

Expand Down
2 changes: 1 addition & 1 deletion Godeps
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
code.google.com/p/snappy-go/snappy 12e4b4183793ac4b061921e7980845e750679fd0
github.com/BurntSushi/toml 2dff11163ee667d51dcc066660925a92ce138deb
github.com/bitly/go-hostpool 58b95b10d6ca26723a7f46017b348653b825a8d6
github.com/bitly/go-nsq b2219913d42659994fd0b68a9692b64fd00e079f # v1.0.2
github.com/bitly/go-nsq 5a2abdba46a853a75ccdeeead30ad34eabc4d72a # v1.0.3
github.com/bitly/go-simplejson fc395a5db941cf38922b1ccbc083640cd76fe4bc # v0.5.0-alpha
github.com/bmizerany/perks/quantile 6cb9d9d729303ee2628580d9aec5db968da3a607
github.com/mreiferson/go-options 2cf7eb1fdd83e2bb3375fef6fdadb04c3ad564da
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Python libraries are available out of the box (as well as many other [client
libraries][client_libraries]) and, if you're interested in building your own, there's a [protocol
spec][protocol].

The latest stable release is **[0.3.1][latest_tag]** ([ChangeLog][changelog]). We publish [binary
The latest stable release is **[0.3.2][latest_tag]** ([ChangeLog][changelog]). We publish [binary
releases][installing] for linux and darwin.

NOTE: master is our *development* branch and may not be stable at all times.
Expand Down Expand Up @@ -91,7 +91,7 @@ NSQ was designed and developed by Matt Reiferson ([@imsnakes][snakes_twitter]) a
[jehiah_twitter]: https://twitter.com/jehiah
[bitly]: https://bitly.com
[features_guarantees]: http://nsq.io/overview/features_and_guarantees.html
[latest_tag]: https://github.com/bitly/nsq/releases/tag/v0.3.1
[latest_tag]: https://github.com/bitly/nsq/releases/tag/v0.3.2
[contributors]: https://github.com/bitly/nsq/graphs/contributors
[client_libraries]: http://nsq.io/clients/client_libraries.html
[jekyll]: http://jekyllrb.com/
Expand Down
2 changes: 1 addition & 1 deletion contrib/nsq.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%define name nsq
%define version 0.3.1
%define version 0.3.2
%define release 1
%define path usr/local
%define group Database/Applications
Expand Down
17 changes: 15 additions & 2 deletions dist.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
#!/bin/bash

# Exit on failed commands
# 1. commit to bump the version and update the changelog/readme
# 2. tag that commit
# 3. use dist.sh to produce tar.gz for linux and darwin
# 4. upload *.tar.gz to our bitly s3 bucket
# 5. docker push nsqio/nsq
# 6. push to bitly/master
# 7. update the release metadata on github / upload the binaries there too
# 8. update the gh-pages branch with versions / download links
# 9. update homebrew version
# 10. send release announcement emails
# 11. update IRC channel topic
# 12. tweet

set -e

# build binary distributions for linux/amd64 and darwin/amd64
Expand Down Expand Up @@ -29,10 +41,11 @@ for os in linux darwin; do
GOOS=$os GOARCH=$arch CGO_ENABLED=0 make
make DESTDIR=$BUILD/$TARGET PREFIX= install
pushd $BUILD
if [ "$os" == 'linux' ]; then cp -r $BUILD/$TARGET/bin $DIR/dist/docker/; fi
if [ "$os" == "linux" ]; then cp -r $BUILD/$TARGET/bin $DIR/dist/docker/; fi
tar czvf $TARGET.tar.gz $TARGET
mv $TARGET.tar.gz $DIR/dist
popd
make clean
done

docker build -t nsqio/nsq:v$version .
2 changes: 1 addition & 1 deletion util/binary_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"runtime"
)

const BINARY_VERSION = "0.3.2-alpha"
const BINARY_VERSION = "0.3.2"

func Version(app string) string {
return fmt.Sprintf("%s v%s (built w/%s)", app, BINARY_VERSION, runtime.Version())
Expand Down

0 comments on commit 38edc24

Please sign in to comment.