Skip to content

Commit

Permalink
Bump version to 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsauter committed Nov 19, 2017
1 parent 1d276e7 commit f143219
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

## 3.3.0 (2017-11-19)

* **Caution!** Enable prefixing by default again. This restores 3.0 behaviour and makes Crane more compatible with docker-compose. If you don't want this, configure `prefix: false`. However, doing this will also disable the new, automatic `default` network described in the next section.

* **Caution!** Create a `default` network automatically (if prefixing is enabled, which is the new default), and connect every container to it (using its name as an alias). This is the same behaviour that docker-compose has.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
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.2.1 and requires Docker >= 1.10.
The latest release is 3.3.0 and requires Docker >= 1.10.
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.2.1/download.sh`" && \
bash -c "`curl -sL https://raw.githubusercontent.com/michaelsauter/crane/v3.3.0/download.sh`" && \
mv crane /usr/local/bin/crane
```

Expand Down
2 changes: 1 addition & 1 deletion download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

echo "Downloading version ${VERSION}..."
Expand Down
3 changes: 1 addition & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ 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}
sed -i.bak 's/fmt\.Println("v'$old_version'")/fmt.Println("v'$version'")/' crane/version_basic.go
sed -i.bak 's/fmt\.Println("v'$old_version' (PRO)")/fmt.Println("v'$version' (PRO)")/' crane/version_pro.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
sed -i.bak 's/VERSION="'$old_version'"/VERSION="'$version'"/' download.sh
Expand Down

0 comments on commit f143219

Please sign in to comment.