From 63828304cb9df4ce7ffc7ab1fa0daa454f1de559 Mon Sep 17 00:00:00 2001 From: Corey Butler Date: Wed, 10 May 2017 18:14:55 -0500 Subject: [PATCH] Fixes issue #268. --- build.bat | 3 ++- nvm.iss | 2 +- src/nvm.go | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/build.bat b/build.bat index 8ed24649..e037c6fd 100644 --- a/build.bat +++ b/build.bat @@ -4,7 +4,7 @@ SET ORIG=%CD% REM SET GOPATH=%CD%\src SET GOBIN=%CD%\bin SET GOARCH=386 -SET version=1.1.3 +SET version=1.1.4 REM Get the version number from the setup file REM for /f "tokens=*" %%i in ('findstr /n . %INNOSETUP% ^| findstr ^4:#define') do set L=%%i @@ -53,6 +53,7 @@ echo "Building the primary installer..." buildtools\iscc %INNOSETUP% /o%DIST% buildtools\zip -j -9 -r "%DIST%\nvm-setup.zip" "%DIST%\nvm-setup.exe" echo "Generating Checksums for release files..." + for /r %i in (*.zip *.exe) do checksum -file %i -t sha256 >> %i.sha256.txt echo "Distribution created. Now cleaning up...." rm %GOBIN%/nvm.exe diff --git a/nvm.iss b/nvm.iss index c0c46685..1f2164a9 100644 --- a/nvm.iss +++ b/nvm.iss @@ -1,7 +1,7 @@ #define MyAppName "NVM for Windows" #define MyAppShortName "nvm" #define MyAppLCShortName "nvm" -#define MyAppVersion "1.1.3" +#define MyAppVersion "1.1.4" #define MyAppPublisher "Ecor Ventures LLC" #define MyAppURL "http://github.com/coreybutler/nvm" #define MyAppExeName "nvm.exe" diff --git a/src/nvm.go b/src/nvm.go index da530e30..d7f0cda6 100644 --- a/src/nvm.go +++ b/src/nvm.go @@ -17,7 +17,7 @@ import ( ) const ( - NvmVersion = "1.1.3" + NvmVersion = "1.1.4" ) type Environment struct {