Skip to content

Commit

Permalink
Merge pull request #2544 from AdmiringWorm/fix-1password [AU 1passwor…
Browse files Browse the repository at this point in the history
…d\OPW4]
  • Loading branch information
AdmiringWorm authored Sep 26, 2024
2 parents e9a9caf + fb0958c commit c503683
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions automatic/1password/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ if (($IncludeStream -match "^OPW(?<major>\d+)") -and (Test-Path "$PSScriptRoot\.
try {
$oldVersion = $global:au_Version
. "./update.ps1" -NoUpdateCheck
$packages = Get-ChildItem "*.nupkg"

if ($packages) {
Copy-Item $packages -Destination $PSScriptRoot
# We also need to commit any changes, but only do this when running in a CI environment
if ($env:APPVEYOR -eq $true) {
git add . --update
}
}

if ($oldVersion) {
$global:au_Version = $oldVersion
Expand Down

0 comments on commit c503683

Please sign in to comment.