Skip to content

Commit

Permalink
Merge branch 'master' of github.com:codac-team/codac
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonRohou committed Jun 1, 2023
2 parents c2e7057 + 7ff6f67 commit 3477015
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/unixmatrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ jobs:
cd packages/choco
sed_param=s/\<version\>1\<\\/version\>/\<version\>${PACKAGE_VERSION}\<\\/version\>/
sed -i "$sed_param" codac/codac.nuspec
sed_param=s/codac-1/codac-${PACKAGE_VERSION}/
sed_param=s/download\\/v1\\/codac/download\\/v${PACKAGE_VERSION}\\/codac/
sed -i "$sed_param" codac/codac.nuspec
sed -i "$sed_param" codac/tools/chocolateyinstall.ps1
mv -f codac codac.$PACKAGE_VERSION
cd codac.$PACKAGE_VERSION
Expand Down
2 changes: 1 addition & 1 deletion packages/choco/codac/codac.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The following package parameters can be set:
- `/NoRegistry` - Will not try to update Windows registry.
To pass package parameters, use `--params "''"` (e.g. `choco install codac --params "'/NoPath /NoRegistry'"`), and to install another binary package, try e.g.
```
choco install -y --ignore-dependencies codac --params "'/url:https://github.com/codac-team/codac/releases/download/codac-1.2.2/codac_x86_vc15.zip'"
choco install -y --ignore-dependencies codac --params "'/url:https://github.com/codac-team/codac/releases/download/v1/codac_x64_vc17.zip'"
```
</description>
<releaseNotes>https://github.com/codac-team/codac/releases</releaseNotes>
Expand Down
4 changes: 2 additions & 2 deletions packages/choco/codac/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ $root = Join-Path $installDir "codac"
New-Item -ItemType Directory -Force -Path $root | Out-Null

if (!$pp['url']) {
$url = 'https://github.com/lebarsfa/codac/releases/download/codac-1/codac_x86_mingw$MinGWMVer.zip'
$url = 'https://github.com/codac-team/codac/releases/download/v1/codac_x86_mingw11.zip'
$checksum = 'EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE'
$url64 = 'https://github.com/lebarsfa/codac/releases/download/codac-1/codac_x64_mingw$MinGWMVer.zip'
$url64 = 'https://github.com/codac-team/codac/releases/download/v1/codac_x64_mingw11.zip'
$checksum64 = 'FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF'
$packageArgs = @{
packageName = $env:ChocolateyPackageName
Expand Down
1 change: 1 addition & 0 deletions packages/choco/codac/tools/sharedVars.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Some of these variables might not be used in links to simplify parsing of files...
if ((Get-ProcessorBits 32) -or $env:ChocolateyForceX86 -eq $true) { $arch = "x86" } else { $arch = "x64" }
$MinGWMVer = "11"
$CMakeRegistryPath = "HKCU:\SOFTWARE\Kitware\CMake"
Expand Down

0 comments on commit 3477015

Please sign in to comment.