Skip to content

Commit

Permalink
Bump version to 3.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelsauter committed Nov 20, 2017
1 parent 569534e commit a3a6d88
Show file tree
Hide file tree
Showing 5 changed files with 9 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.1 (2017-11-20)

* Do not add `--interactive` to non-targeted containers, otherwise
Docker attaches to them.

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.3.0 and requires Docker >= 1.13.
The latest release is 3.3.1 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.0/download.sh`" && \
bash -c "`curl -sL https://raw.githubusercontent.com/michaelsauter/crane/v3.3.1/download.sh`" && \
mv crane /usr/local/bin/crane
```

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

const Version = "3.3.0"
const Version = "3.3.1"
const Pro = false

func printVersion() {
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.3.0"
VERSION="3.3.1"
fi

echo "Downloading version ${VERSION}..."
Expand Down
4 changes: 3 additions & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ rm crane/version_basic.go.bak
rm crane/version_pro.go.bak
sed -i.bak 's/VERSION="'$old_version'"/VERSION="'$version'"/' download.sh
rm download.sh.bak
sed -i.bak 's/'$old_version'/'$version'/' README.md
rm README.md.bak

echo "Mark version as released in changelog..."
today=$(date +'%Y-%m-%d')
Expand All @@ -33,7 +35,7 @@ echo "Build binaries..."
crane run crane make build

echo "Update repository..."
git add crane/cli.go download.sh README.md CHANGELOG.md CONTRIBUTORS
git add crane/version_basic.go download.sh README.md CHANGELOG.md CONTRIBUTORS
git commit -m "Bump version to ${version}"
git tag --sign --message="v$version" "v$version"
git tag --sign --message="latest" --force latest
Expand Down

0 comments on commit a3a6d88

Please sign in to comment.