Skip to content

Commit

Permalink
Bump version to 3.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsauter committed Mar 22, 2018
1 parent 31a5154 commit 4de62ac
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,8 @@

## Unreleased

## 3.3.4 (2018-03-22)

* [Bugfix] Attach --volumes flag to `rm` command, not `provision`

* [Enhancement] Display proper error if non-existant network is referenced
Expand Down
7 changes: 4 additions & 3 deletions CONTRIBUTORS
Expand Up @@ -8,7 +8,8 @@ Adrian Hurtado <adrianhurt@gmail.com>
Bradley Cicenas <bradley.cicenas@gmail.com>
Tomotaka SUWA <tomotaka.suwa@gmail.com>
inthroxify <inthroxify@users.noreply.github.com>
Joshua Sierles <joshua@diluvia.net>
Jesper Thomschütz <jesper@jespersaur.com>
Mathew Davies <thepixeldeveloper@googlemail.com>
gissehel <public-devgit-dantus@gissehel.org>
Eliran Bivas <eliran.bivas@gmail.com>
David Lefever <lefever.d@gmail.com>
Expand All @@ -18,6 +19,6 @@ Thibault Vigouroux <thibault.vigouroux@gmail.com>
Chris Rebert <github@rebertia.com>
Travis Cline <travis.cline@gmail.com>
eggtree <eggtree@requiredhealth.org>
Inthroxify <13877157+inthroxify@users.noreply.github.com>
Jesper Thomschutz <jesper@jespersaur.com>
Jesper Thomschütz <jesper@jespersaur.com>
Mathew Davies <thepixeldeveloper@googlemail.com>
Joshua Sierles <joshua@diluvia.net>
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -27,13 +27,13 @@ Please see [www.craneup.tech](https://www.craneup.tech?utm_source=github&utm_med

## Installation

The latest release is 3.3.3 and requires Docker >= 1.13.
The latest release is 3.3.4 and requires Docker >= 1.13.
Please have a look at the [changelog](https://github.com/michaelsauter/crane/blob/master/CHANGELOG.md) when upgrading.

The free version can be installed via:

```
bash -c "`curl -sL https://raw.githubusercontent.com/michaelsauter/crane/v3.3.3/download.sh`" && \
bash -c "`curl -sL https://raw.githubusercontent.com/michaelsauter/crane/v3.3.4/download.sh`" && \
mv crane /usr/local/bin/crane
```

Expand Down
2 changes: 1 addition & 1 deletion crane/version_basic.go
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
)

const Version = "3.3.3"
const Version = "3.3.4"
const Pro = false

func printVersion() {
Expand Down
2 changes: 1 addition & 1 deletion download.sh
Expand Up @@ -2,7 +2,7 @@

# Set version to latest unless set by user
if [ -z "$VERSION" ]; then
VERSION="3.3.3"
VERSION="3.3.4"
fi

echo "Downloading version ${VERSION}..."
Expand Down
5 changes: 2 additions & 3 deletions release.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

set -e
set -eux

version=$1

Expand All @@ -13,8 +13,7 @@ echo "Running tests..."
crane run crane make test

echo "Update version..."
grepped_version=$(grep -o "v[0-9]*\.[0-9]*\.[0-9]*" crane/version_basic.go)
old_version=${grepped_version:1}
old_version=$(grep -o "[0-9]*\.[0-9]*\.[0-9]*" crane/version_basic.go)
sed -i.bak 's/Version = "'$old_version'"/Version = "'$version'"/' crane/version_basic.go crane/version_pro.go
rm crane/version_basic.go.bak
rm crane/version_pro.go.bak
Expand Down

0 comments on commit 4de62ac

Please sign in to comment.