Skip to content

Releases: asheroto/Chocolatey-Package-Updater

0.2.0

Choose a tag to compare

@asheroto asheroto released this 06 Apr 17:55

Bug Fixes

  • Alert now only sent when AutoPush is false
  • Fixed GitHub tag v-prefix being incorrectly included in version comparisons
  • Fixed Remove-LeadingZeroesFromVersion to safely skip non-numeric version segments
  • Exit code now checked after choco pack and choco push

Improvements

  • ScrapeUrl fetched once and reused instead of multiple times
  • Get-LatestGitHubReleaseVersion consolidated into Get-GitHubRelease
  • Updated version regex to handle 2- to 4-part version numbers (e.g. 1.0 through 1.2.3.4)
  • Added GitHub API rate limit detection with clear error message and optional GITHUB_TOKEN support
  • Added validation that $ScriptPath is defined and that FileUrl or DownloadUrlScrapePattern is provided
  • FileUrl is now optional when DownloadUrlScrapePattern is used

Code Cleanup

  • Removed redundant Test-Path check
  • Removed unused AlertEmailAddress parameter
  • Sleep replaced with Start-Sleep
  • Load-DotEnv renamed to Import-DotEnv (approved PowerShell verb)
  • Try-DeleteFile renamed to Remove-FileIfPossible (approved PowerShell verb)

0.1.0

Choose a tag to compare

@asheroto asheroto released this 20 Jun 18:36
  • Initial minor release.
  • Added Mailjet alerting.

0.0.12

Choose a tag to compare

@asheroto asheroto released this 19 Jun 18:04
  • Added AutoPush parameter to automatically push packages to the Chocolatey community repository.

0.0.11

Choose a tag to compare

@asheroto asheroto released this 09 Jun 22:50
  • Added IgnoreVersion parameter to ignore a specific version.

0.0.10

Choose a tag to compare

@asheroto asheroto released this 03 Jan 17:58
  • Added disable IPv6 to aria2c args.

0.0.9

Choose a tag to compare

@asheroto asheroto released this 03 Jan 04:28
  • Improved ProductVersion/FileVersion detection, only returns applicable Chocolatey version number despite the version provided in the metadata of the file/installer.

0.0.8

Choose a tag to compare

@asheroto asheroto released this 05 Nov 06:57
  • Improved help.
  • Added Help parameter.
  • Added loop to repeatedly attempt file deletion if it's in use, mitigating file deletion prevention by antivirus software scanning download.

0.0.7

Choose a tag to compare

@asheroto asheroto released this 29 Oct 21:46
  • Added additional wait time for cleanup to ensure files are release from use before deletion.

0.0.6

Choose a tag to compare

@asheroto asheroto released this 07 Oct 06:45
  • Added support for GitHubRepoUrl so that the latest version can be scraped from GitHub's API.
  • Added GitHub repo example.

0.0.5

Choose a tag to compare

@asheroto asheroto released this 03 Oct 06:17
  • Abstracted version/checksum comparison into its own function.
  • Add UpdateAll.ps1