From b5cab0183df0857c3672dce9044af8d19fff6168 Mon Sep 17 00:00:00 2001 From: Patrick Crosby Date: Mon, 5 Jun 2017 21:07:37 -0500 Subject: [PATCH] Call goreleaser from release.sh --- release.sh | 17 +++++------------ stathat/cmd/version.go | 2 +- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/release.sh b/release.sh index c226879..9547a4a 100755 --- a/release.sh +++ b/release.sh @@ -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." diff --git a/stathat/cmd/version.go b/stathat/cmd/version.go index de34e07..b94e936 100644 --- a/stathat/cmd/version.go +++ b/stathat/cmd/version.go @@ -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{