diff --git a/README.md b/README.md index 700fa1c..423fc80 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ scriptcs version manager -[![Latest Release](http://img.shields.io/badge/svm-0.4.0-blue.svg?style=flat-square)](https://github.com/scriptcs-contrib/svm/releases/tag/v0.4.0) [![Join the chat at https://gitter.im/scriptcs-contrib/svm](https://img.shields.io/badge/gitter-join%20chat%20%E2%86%92-brightgreen.svg?style=flat-square)](https://gitter.im/scriptcs-contrib/svm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Latest Release](http://img.shields.io/badge/svm-0.4.1-blue.svg?style=flat-square)](https://github.com/scriptcs-contrib/svm/releases/tag/v0.4.1) [![Join the chat at https://gitter.im/scriptcs-contrib/svm](https://img.shields.io/badge/gitter-join%20chat%20%E2%86%92-brightgreen.svg?style=flat-square)](https://gitter.im/scriptcs-contrib/svm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) svm is a cross platform version manager for [scriptcs](http://scriptcs.net/ "scriptcs makes it easy to write and execute C# with a simple text editor.") available on Windows, Mac OS X and Linux. This work and implementation was inspired by [rbenv](https://github.com/sstephenson/rbenv), [rvm](https://github.com/wayneeseguin/rvm), [kvm](https://github.com/aspnet/KRuntime/tree/dev/setup) and [nvm](https://github.com/creationix/nvm). @@ -29,7 +29,7 @@ svm is a cross platform version manager for [scriptcs](http://scriptcs.net/ "scr ``` > svm list - scriptcs version manager - 0.4.0 + scriptcs version manager - 0.4.1 The following scriptcs versions are installed: diff --git a/install/installer.ps1 b/install/installer.ps1 index 6bf591a..ec32066 100644 --- a/install/installer.ps1 +++ b/install/installer.ps1 @@ -82,10 +82,10 @@ function Install-SvmPackage $destination.CopyHere($zipFile.items(), 0x14) #0x4 = don't show UI, 0x10 = overwrite files # Only copy Windows specific contents into the install folder - $zipFolderToExtract = [System.IO.Path]::Combine($unzipFolder, 'svm-0.4.0', 'src', 'bin') + $zipFolderToExtract = [System.IO.Path]::Combine($unzipFolder, 'svm-0.4.1', 'src', 'bin') Remove-Item -Path $([System.IO.Path]::Combine($zipFolderToExtract, 'svm')) Copy-Item -Path $zipFolderToExtract -Recurse -Destination $installPath - $zipFolderToExtract = [System.IO.Path]::Combine($unzipFolder, 'svm-0.4.0', 'src', 'shims') + $zipFolderToExtract = [System.IO.Path]::Combine($unzipFolder, 'svm-0.4.1', 'src', 'shims') Remove-Item -Path $([System.IO.Path]::Combine($zipFolderToExtract, 'scriptcs')) Copy-Item -Path $zipFolderToExtract -Recurse -Destination $installPath @@ -123,7 +123,7 @@ function Configure-Environment Write-TitleMessage "scriptcs version manager - installer" $installPath = $userSvmPath -$url = "https://github.com/scriptcs-contrib/svm/archive/v0.4.0.zip" +$url = "https://github.com/scriptcs-contrib/svm/archive/v0.4.1.zip" $downloadPath = [System.IO.Path]::Combine($env:TEMP, [Guid]::NewGuid(), 'svm-install.zip') New-SvmInstallLocation $installPath diff --git a/install/installer.sh b/install/installer.sh index db7457c..b7cd571 100644 --- a/install/installer.sh +++ b/install/installer.sh @@ -60,8 +60,8 @@ _svminstaller_install_package() { _svm_info_message "Installing svm to '$install_path'." - unzip -j "$download_path" "svm-0.4.0/src/bin/*" -d "$install_path/bin" > /dev/null 2>&1 - unzip -j "$download_path" "svm-0.4.0/src/shims/*" -d "$install_path/shims" > /dev/null 2>&1 + unzip -j "$download_path" "svm-0.4.1/src/bin/*" -d "$install_path/bin" > /dev/null 2>&1 + unzip -j "$download_path" "svm-0.4.1/src/shims/*" -d "$install_path/shims" > /dev/null 2>&1 mkdir "$install_path/versions" > /dev/null 2>&1 # remove Windows specific resources from installed package @@ -140,7 +140,7 @@ _svminstaller_configure_environment() { _svm_title_message "scriptcs version manager - installer" svm_install_path="$USER_SVM_PATH" -svm_package_url="https://github.com/scriptcs-contrib/svm/archive/v0.4.0.zip" +svm_package_url="https://github.com/scriptcs-contrib/svm/archive/v0.4.1.zip" svm_download_path="$TEMP_PATH/`uuidgen`/svm-install.zip" _svminstaller_create_install_location "$svm_install_path" diff --git a/src/bin/svm b/src/bin/svm index 54a77b3..73c868b 100644 --- a/src/bin/svm +++ b/src/bin/svm @@ -1,7 +1,7 @@ #!/bin/bash #SVM_VERSION="{{VERSION}}" -SVM_VERSION="0.4.0" +SVM_VERSION="0.4.1" SCRIPT_PATH="${BASH_SOURCE[0]%/*}" # /.svm/bin SVM_PATH=${SCRIPT_PATH%/bin} # /.svm/ diff --git a/src/bin/svm.ps1 b/src/bin/svm.ps1 index bf10b5c..a3e44cb 100644 --- a/src/bin/svm.ps1 +++ b/src/bin/svm.ps1 @@ -10,7 +10,7 @@ param ( ) #$svmVersion = "{{VERSION}}" -$svmVersion = "0.4.0" +$svmVersion = "0.4.1" $scriptPath = [System.IO.Path]::GetDirectoryName($myInvocation.MyCommand.Definition) # \.svm\bin $svmPath = [System.IO.Directory]::GetParent($scriptPath).FullName # \.svm\