Skip to content

Commit

Permalink
AU: 4 updated - freecad git.install git.portable typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey Community committed Jun 1, 2023
1 parent af88573 commit a142219
Show file tree
Hide file tree
Showing 12 changed files with 33 additions and 33 deletions.
2 changes: 1 addition & 1 deletion automatic/freecad/freecad.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"stable": "0.20.2.1",
"portable": "0.20.2.1",
"dev": "33321.2023.5.28-dev"
"dev": "33345.2023.6.1-dev"
}
2 changes: 1 addition & 1 deletion automatic/freecad/freecad.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>freecad</id>
<version>33321.2023.5.28-dev</version>
<version>33345.2023.6.1-dev</version>
<title>FreeCAD</title>
<owners>chocolatey-community,purity</owners>
<authors>Jürgen Riegel</authors>
Expand Down
4 changes: 2 additions & 2 deletions automatic/freecad/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ $packageArgs = @{
packageName = 'freecad'
fileType = '7z'
url = ''
url64 = 'https://github.com/FreeCAD/FreeCAD-Bundle/releases/download/weekly-builds/FreeCAD_weekly-builds-33321-2023-05-28-conda-Windows-x86_64-py310.7z'
url64 = 'https://github.com/FreeCAD/FreeCAD-Bundle/releases/download/weekly-builds/FreeCAD_weekly-builds-33345-2023-06-01-conda-Windows-x86_64-py310.7z'
softwareName = 'FreeCAD'
checksum = ''
checksumType = ''
checksum64 = 'CCC62DE5190AFEF5E024503F8D4852ECAA75BD64792F87FD34F06D3A3328266D'
checksum64 = 'F13C70FAE6B87A9692B23C45B9DD88D395A1DF22BBEF67A8BDCC32AFC2DD4AD3'
checksumType64 = 'sha256'
silentArgs = '/S'
validExitCodes = @(0)
Expand Down
2 changes: 1 addition & 1 deletion automatic/git.install/git.install.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>git.install</id>
<title>Git (Install)</title>
<version>2.40.1</version>
<version>2.41.0</version>
<authors>The Git Development Community</authors>
<owners>chocolatey-community</owners>
<summary>Git for Windows offers a native set of tools that bring the full feature set of the Git SCM to Windows</summary>
Expand Down
8 changes: 4 additions & 4 deletions automatic/git.install/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ in verifying that this package's contents are trustworthy.
The installer has been downloaded from GitHub and can be verified like this:

1. Download the following installers:
32-Bit: <https://github.com/git-for-windows/git/releases/download/v2.40.1.windows.1/Git-2.40.1-32-bit.exe>
64-Bit: <https://github.com/git-for-windows/git/releases/download/v2.40.1.windows.1/Git-2.40.1-64-bit.exe>
32-Bit: <https://github.com/git-for-windows/git/releases/download/v2.41.0.windows.1/Git-2.41.0-32-bit.exe>
64-Bit: <https://github.com/git-for-windows/git/releases/download/v2.41.0.windows.1/Git-2.41.0-64-bit.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:
checksum32: 3EE2289A4F6E9917F702BD032A67874C11AA05BF2D28D967986E40D4F7F50636
checksum64: D2F0FBF9D84622B2AA4AED401DAF6DEDB8AC89BB388AF02078BA375496A873DC
checksum32: 25C9077AA60ACA41FA8A7B89A8581492E04155786799653EF3010D165E11000E
checksum64: 45DC30410916B8EC5501BE39D01D5B60535731C04FA68283B4F9DF4920877D4E

File 'LICENSE.txt' is obtained from <https://github.com/git-for-windows/git/blob/703601d6780c32d33dadf19b2b367f2f79e1e34c/COPYING>
4 changes: 2 additions & 2 deletions automatic/git.install/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Stop-GitSSHAgent
# Workaround for chocolateyBeforeModify.ps1 being bypassed if upgrading via metapackage (chocolatey/choco#1092)
Stop-GitGPGAgent

$fileName32 = 'Git-2.40.1-32-bit.exe'
$fileName64 = 'Git-2.40.1-64-bit.exe'
$fileName32 = 'Git-2.41.0-32-bit.exe'
$fileName64 = 'Git-2.41.0-64-bit.exe'
$silentArgs = "/VERYSILENT", "/SUPPRESSMSGBOXES", "/NORESTART", "/NOCANCEL", "/SP-", "/LOG", (Get-InstallComponents $pp)
$silentArgs += Get-InstallOptions $pp

Expand Down
14 changes: 7 additions & 7 deletions automatic/git.install/update.ps1
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import-module au
import-module au

$domain = 'https://github.com'
$releases = "$domain/git-for-windows/git/releases/latest"

function global:au_BeforeUpdate {
$releaseAssets = Get-GitHubRelease -Owner 'git-for-windows' -Name 'git' -Tag $Latest.TagName | % assets
$releaseAssets = Get-GitHubRelease -Owner 'git-for-windows' -Name 'git' -Tag $Latest.TagName | ForEach-Object assets

$Latest.URL32 = $releaseAssets | ? name -match "Git-.+-32-bit.exe" | % browser_download_url
$Latest.URL64 = $releaseAssets | ? name -match "Git-.+-64-bit.exe" | % browser_download_url
$Latest.URL32 = $releaseAssets | Where-Object name -match "Git-.+-32-bit.exe" | ForEach-Object browser_download_url
$Latest.URL64 = $releaseAssets | Where-Object name -match "Git-.+-64-bit.exe" | ForEach-Object browser_download_url

if (!$Latest.URL32 -or !$Latest.URL64) {
throw "64bit or 32bit URL is missing"
Expand Down Expand Up @@ -36,10 +36,10 @@ function global:au_SearchReplace {
function global:au_GetLatest {
$download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing

$tagUrl = $download_page.Links | Where-Object href -match 'releases/tag/.*windows' | select -First 1 -ExpandProperty href
$tagName = $tagUrl -split '\/' | Select -Last 1
$tagUrl = $download_page.Links | Where-Object href -match 'releases/tag/.*windows' | Select-Object -First 1 -ExpandProperty href
$tagName = $tagUrl -split '\/' | Select-Object -Last 1

$version = $tagName -split '^v|\.windows' | select -Last 1 -Skip 1
$version = $tagName -split '^v|\.windows' | Select-Object -Last 1 -Skip 1

@{
Version = $version
Expand Down
2 changes: 1 addition & 1 deletion automatic/git.portable/git.portable.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<metadata>
<id>git.portable</id>
<title>Git (Portable)</title>
<version>2.40.1</version>
<version>2.41.0</version>
<authors>The Git Development Community</authors>
<owners>chocolatey-community</owners>
<summary>Git for Windows offers a native set of tools that bring the full feature set of the Git SCM to Windows</summary>
Expand Down
8 changes: 4 additions & 4 deletions automatic/git.portable/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ in verifying that this package's contents are trustworthy.
The installer has been downloaded from GitHub and can be verified like this:

1. Download the following installers:
32-Bit: <https://github.com/git-for-windows/git/releases/download/v2.40.1.windows.1/PortableGit-2.40.1-32-bit.7z.exe>
64-Bit: <https://github.com/git-for-windows/git/releases/download/v2.40.1.windows.1/PortableGit-2.40.1-64-bit.7z.exe>
32-Bit: <https://github.com/git-for-windows/git/releases/download/v2.41.0.windows.1/PortableGit-2.41.0-32-bit.7z.exe>
64-Bit: <https://github.com/git-for-windows/git/releases/download/v2.41.0.windows.1/PortableGit-2.41.0-64-bit.7z.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:
checksum32: E1360E94CB292862FB023018578A1029022A09278B160F7264C6DC444F65C9CA
checksum64: 9E1D819AEF3284420ADF6D923B0D4865254BD403641D915975E49DDEA1E7CDF9
checksum32: 12190F5BEC59A187EC0368F39DBA55A7802706076B91FE400EF5DA4247999467
checksum64: FCBAEFFD24FDF435A1F7844825253509136377915E6720AA66AA256EC1F83C30

File 'LICENSE.txt' is obtained from <https://github.com/git-for-windows/git/blob/703601d6780c32d33dadf19b2b367f2f79e1e34c/COPYING>
14 changes: 7 additions & 7 deletions automatic/git.portable/update.ps1
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import-module au
import-module au

$domain = 'https://github.com'
$releases = "$domain/git-for-windows/git/releases/latest"

function global:au_BeforeUpdate {
$releaseAssets = Get-GitHubRelease -Owner 'git-for-windows' -Name 'git' -Tag $Latest.TagName | % assets
$releaseAssets = Get-GitHubRelease -Owner 'git-for-windows' -Name 'git' -Tag $Latest.TagName | ForEach-Object assets

$Latest.URL32 = $releaseAssets | ? name -match "PortableGit-.+-32-bit.7z.exe" | % browser_download_url
$Latest.URL64 = $releaseAssets | ? name -match "PortableGit-.+-64-bit.7z.exe" | % browser_download_url
$Latest.URL32 = $releaseAssets | Where-Object name -match "PortableGit-.+-32-bit.7z.exe" | ForEach-Object browser_download_url
$Latest.URL64 = $releaseAssets | Where-Object name -match "PortableGit-.+-64-bit.7z.exe" | ForEach-Object browser_download_url

if (!$Latest.URL32 -or !$Latest.URL64) {
throw "64bit or 32bit URL is missing"
Expand All @@ -31,10 +31,10 @@ function global:au_SearchReplace {
function global:au_GetLatest {
$download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing

$tagUrl = $download_page.Links | Where-Object href -match 'releases/tag/.*windows' | select -First 1 -ExpandProperty href
$tagName = $tagUrl -split '\/' | Select -Last 1
$tagUrl = $download_page.Links | Where-Object href -match 'releases/tag/.*windows' | Select-Object -First 1 -ExpandProperty href
$tagName = $tagUrl -split '\/' | Select-Object -Last 1

$version = $tagName -split '^v|\.windows' | select -Last 1 -Skip 1
$version = $tagName -split '^v|\.windows' | Select-Object -Last 1 -Skip 1

@{
Version = $version
Expand Down
2 changes: 1 addition & 1 deletion automatic/typescript/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Update-SessionEnvironment

$npmPath = Get-Command npm | ForEach-Object { $_.Path }
"Installing $env:chocolateyPackageName using nodejs..."
Start-ChocolateyProcessAsAdmin $npmPath -statements install,"-g","typescript@5.0.4"
Start-ChocolateyProcessAsAdmin $npmPath -statements install,"-g","typescript@5.1.3"
4 changes: 2 additions & 2 deletions automatic/typescript/typescript.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>typescript</id>
<version>5.0.4</version>
<version>5.1.3</version>
<packageSourceUrl>https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/typescript</packageSourceUrl>
<owners>chocolatey-community, Microsoft</owners>
<title>TypeScript</title>
Expand All @@ -27,7 +27,7 @@ This package installs the command-line TypeScript compiler as a Node.js package.
- **If the package is out of date please check [Version History](#versionhistory) for the latest submitted version. If you have a question, please ask it in [Chocolatey Community Package Discussions](https://github.com/chocolatey-community/chocolatey-packages/discussions) or raise an issue on the [Chocolatey Community Packages Repository](https://github.com/chocolatey-community/chocolatey-packages/issues) if you have problems with the package. Disqus comments will generally not be responded to.**
]]></description>
<releaseNotes>https://github.com/Microsoft/TypeScript/issues?q=is%3Aissue+milestone%3A%22TypeScript+5.0.4%22+label%3A%22fixed%22+</releaseNotes>
<releaseNotes>https://github.com/Microsoft/TypeScript/issues?q=is%3Aissue+milestone%3A%22TypeScript+5.1.3%22+label%3A%22fixed%22+</releaseNotes>
<dependencies>
<dependency id="nodejs-lts" version="6.9.2" />
</dependencies>
Expand Down

0 comments on commit a142219

Please sign in to comment.