Erlang upgrade / Removing a package from appveyor

Daniel K's Avatar

Daniel K

18 Dec, 2017 02:12 PM

Hey people,

how would I go about removing erl8.3 from the build environment?
I need to upgrade it to erl9.0

Thanks!

  1. 1 Posted by Daniel K on 18 Dec, 2017 02:26 PM

    Daniel K's Avatar

    Got it:

    - SET PATH=%PATH:C:\Program Files\erl8.3\bin;=%

  2. Support Staff 2 Posted by Feodor Fitsner on 18 Dec, 2017 06:53 PM

    Feodor Fitsner's Avatar

    Hi Daniel,

    You can use this PS script to install Erlang 9.1 during the build:

    Write-Host "Installing Erlang..." -ForegroundColor Cyan
    
    Write-Host "Downloading..."
    $exePath = "$env:TEMP\otp_win64_20.1.exe"
    (New-Object Net.WebClient).DownloadFile('http://erlang.org/download/otp_win64_20.1.exe', $exePath)
    
    Write-Host "Installing..."
    cmd /c start /wait $exePath /S
    
    $env:path = "C:\Program Files\erl9.1\bin;$env:path"
    [Environment]::SetEnvironmentVariable('ERLANG_HOME', 'C:\Program Files\erl9.1', 'Machine')
    
    Write-Host "Installed Erlang" -ForegroundColor Green
    

    We added an issue to update it on the image: https://github.com/appveyor/ci/issues/1987

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:25 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac