Skip to content

Commit

Permalink
fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
github-brice-jaglin committed Sep 29, 2019
1 parent e4b7fb7 commit 02195ed
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if [ -z "$version" ]; then
fi

go_path=$(cd ../../../../; pwd)
docker_run="docker run --rm -it -v $go_path:/go -w /go/src/github.com/michaelsauter/crane michaelsauter/golang:1.7"
docker_run="docker run --rm -it -v $go_path:/go -w /go/src/github.com/michaelsauter/crane golang:1.13-stretch"

echo "Running tests..."
$docker_run make test
Expand Down Expand Up @@ -43,8 +43,6 @@ echo "Update repository..."
git add crane/cli.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


echo "v$version tagged."
echo "Now, run 'git push origin master && git push --tags --force' and publish the release on GitHub."

0 comments on commit 02195ed

Please sign in to comment.