Skip to content

Commit

Permalink
Update mod to v2.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 9, 2024
1 parent 127ffe2 commit eac05bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mod.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>mod</id>
<title>moderne-cli</title>
<version>1.6.27</version>
<version>2.0.6-beta</version>

<owners>moderne.io</owners>
<authors>Moderne Inc.</authors>
Expand Down
11 changes: 8 additions & 3 deletions tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
$ErrorActionPreference = 'Stop'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$version = "v$env:ChocolateyPackageVersion"
$version = "v$env:ChocolateyPackageVersion".split("-")[0]
if ($env:ChocolateyPackageVersion -contains "-beta") {
$branch = "staging"
} else {
$branch = "moderne"
}

$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileFullPath = "$toolsDir\\mod.exe"
url = "https://pkgs.dev.azure.com/moderneinc/moderne_public/_packaging/moderne/maven/v1/io/moderne/moderne-cli-windows/$version/moderne-cli-windows-$version"
url = "https://pkgs.dev.azure.com/moderneinc/moderne_public/_packaging/$branch/maven/v1/io/moderne/moderne-cli-windows/$version/moderne-cli-windows-$version"

checksum = '85A5BC579BC53A356ABB667F4B9FD1831BA7859EF79E3B1454C37F7E933636CA'
checksum = '83dbd2e8fab4b0186a4073a8676249be08018f19e964eb08ae0e8e5dde32137d'
checksumType = 'sha256'
}

Expand Down

0 comments on commit eac05bb

Please sign in to comment.