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{