Skip to content

Commit

Permalink
Call goreleaser from release.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickxb committed Jun 6, 2017
1 parent 81fc4de commit b5cab01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
17 changes: 5 additions & 12 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,13 @@ else
fi

echo "-------------------------------------------------------------------------"
echo "Downloading release for version $version"
echo "Using goreleaser to make release for $version"
echo "-------------------------------------------------------------------------"

filename="v$version.tar.gz"
wget "https://github.com/stathat/cmd/archive/$filename"
cd stathat
goreleaser


echo "-------------------------------------------------------------------------"
echo "Calculating sha256"
echo "Release for $version done"
echo "-------------------------------------------------------------------------"

shasum -a 256 $filename

rm $filename

#that's it for now...

echo "done."
2 changes: 1 addition & 1 deletion stathat/cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ __) |_(_| |_ | | |(_| |_

var logos = []string{logo1, logo2, logo3, logo4, logo5, logo6, logo7, logo8, logo9}

const version = "0.2.7"
const version = "0.2.10"

// versionCmd represents the version command
var versionCmd = &cobra.Command{
Expand Down

0 comments on commit b5cab01

Please sign in to comment.