Skip to content

Commit

Permalink
AU: 1 updated - julia
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey Community committed Jun 8, 2023
1 parent 7c7eb4a commit f3a5e71
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions automatic/julia/julia.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>julia</id>
<version>1.9.0</version>
<version>1.9.1</version>
<title>Julia programming language</title>
<authors>Jeff Bezanson, Alan Edelman, Stefan Karpinski, Viral B. Shah, Julia contributors</authors>
<owners>chocolatey-community, FlorianRappl, drel</owners>
<licenseUrl>https://github.com/JuliaLang/julia/blob/master/LICENSE.md</licenseUrl>
<projectUrl>https://julialang.org</projectUrl>
<releaseNotes>https://github.com/JuliaLang/julia/releases/tag/v1.9.0</releaseNotes>
<releaseNotes>https://github.com/JuliaLang/julia/releases/tag/v1.9.1</releaseNotes>
<packageSourceUrl>https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/julia</packageSourceUrl>
<projectSourceUrl>https://github.com/JuliaLang/julia</projectSourceUrl>
<docsUrl>http://docs.julialang.org/</docsUrl>
Expand Down
8 changes: 4 additions & 4 deletions automatic/julia/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ The installer has been downloaded from the Julia download page on <https://julia
and can be verified like this:

1. Download the following:
32-bit installer: <https://julialang-s3.julialang.org/bin/winnt/x86/1.9/julia-1.9.0-win32.exe>
64-bit installer: <https://julialang-s3.julialang.org/bin/winnt/x64/1.9/julia-1.9.0-win64.exe>
32-bit installer: <https://julialang-s3.julialang.org/bin/winnt/x86/1.9/julia-1.9.1-win32.exe>
64-bit installer: <https://julialang-s3.julialang.org/bin/winnt/x64/1.9/julia-1.9.1-win64.exe>
2. You can use one of the following methods to obtain the checksum
- Use powershell function 'Get-Filehash'
- Use chocolatey utility 'checksum.exe'

checksum type: sha256
checksum32: F40CEB66C4731473E6FF03D9E4C73E8060F0BD3A08C8C6BEE571BF596261DAC9
checksum64: 096ED36B1BC1FD7D00ABC47D9E9F339D051961C2D0C5021005BB8F7E7A93EF0E
checksum32: 93DB56DE16D3EB1F68CF126CD52DB722D0AFD0B711C9E9B25AB2D49299D7A7AC
checksum64: E2F105D0EBDCD9A375BFB386BBDACC462EFFCEBA0B252F95F27B5660211C8DF1

File 'LICENSE.txt' is obtained from <https://github.com/JuliaLang/julia/blob/master/LICENSE.md>
6 changes: 3 additions & 3 deletions automatic/julia/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'exe'
file = "$toolsDir\julia-1.9.0-win32.exe"
file64 = "$toolsDir\julia-1.9.0-win64.exe"
file = "$toolsDir\julia-1.9.1-win32.exe"
file64 = "$toolsDir\julia-1.9.1-win64.exe"

softwareName = 'Julia*'

silentArgs = '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-'
validExitCodes= @(0)
}
$packageVersion = "1.9.0"
$packageVersion = "1.9.1"

Install-ChocolateyInstallPackage @packageArgs

Expand Down
6 changes: 3 additions & 3 deletions automatic/julia/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
import-module au

$releases = 'https://julialang.org/downloads/'

Expand Down Expand Up @@ -28,8 +28,8 @@ function global:au_GetLatest {


$download_page = Invoke-WebRequest -Uri "$releases" -UseBasicParsing
$url32 = $download_page.links | ? href -match '/julia-(.+)-win32\.exe$' | % href | select -First 1
$url64 = $download_page.links | ? href -match '/julia-(.+)-win64\.exe$' | % href | select -First 1
$url32 = $download_page.links | Where-Object href -match '/julia-(.+)-win32\.exe$' | ForEach-Object href | Select-Object -First 1
$url64 = $download_page.links | Where-Object href -match '/julia-(.+)-win64\.exe$' | ForEach-Object href | Select-Object -First 1

$version = $Matches[1]

Expand Down

0 comments on commit f3a5e71

Please sign in to comment.