4 Commits

Author SHA1 Message Date
Hsiao-nan Cheung
5bd165a259 Merge branch 'develop' into feat-force-tag 2025-08-18 19:17:54 +08:00
AkariiinMKII
691c23330c fix(scoop-download): Fix function nightly_version not defined error (#6386) 2025-08-14 17:51:19 +08:00
Hsiao-nan Cheung
01b6bf07cd update chglog 2025-08-13 14:52:43 +08:00
Hsiao-nan Cheung
bc6d43c733 fix(scoop-update): Force sync tags w/ remote branch while scoop update 2025-08-13 14:35:55 +08:00
3 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
## [Unreleased](https://github.com/ScoopInstaller/Scoop/compare/v0.5.3...develop)
### Bug Fixes
- **scoop-update**: Force sync tags w/ remote branch while scoop update ([#6439](https://github.com/ScoopInstaller/Scoop/issues/6439))
- **scoop-download**: Fix function `nightly_version` not defined error ([#6386](https://github.com/ScoopInstaller/Scoop/issues/6386))
## [v0.5.3](https://github.com/ScoopInstaller/Scoop/compare/v0.5.2...v0.5.3) - 2025-08-11
### Features

View File

@@ -25,6 +25,7 @@
. "$PSScriptRoot\..\lib\versions.ps1" # 'Select-CurrentVersion'
. "$PSScriptRoot\..\lib\manifest.ps1" # 'generate_user_manifest' 'Get-Manifest'
. "$PSScriptRoot\..\lib\download.ps1"
. "$PSScriptRoot\..\lib\install.ps1" # 'nightly_version'
if (get_config USE_SQLITE_CACHE) {
. "$PSScriptRoot\..\lib\database.ps1"
}

View File

@@ -136,7 +136,7 @@ function Sync-Scoop {
# reset branch HEAD
Invoke-Git -Path $currentdir -ArgumentList @('reset', '--hard', "origin/$configBranch", '-q')
} else {
Invoke-Git -Path $currentdir -ArgumentList @('pull', '-q')
Invoke-Git -Path $currentdir -ArgumentList @('pull', '--tags', '--force', '-q')
}
$res = $lastexitcode