mirror of
https://github.com/lin-ycv/EverythingPowerToys.git
synced 2025-01-07 03:16:41 +08:00
scoop uses autoupdate
This commit is contained in:
parent
4cb8342ebd
commit
7ab6c861c8
24
.github/workflows/packageManagers.yml
vendored
24
.github/workflows/packageManagers.yml
vendored
@ -56,14 +56,16 @@ jobs:
|
||||
..\wingetcreate submit -p "New version: lin-ycv.EverythingPowerToys version $ver" -t ${{ secrets.EVERYTHINGPT }} .
|
||||
|
||||
# scoop
|
||||
cd ..
|
||||
rm -Path .\* -Recurse -Force
|
||||
git clone -b EverythingPowerToys https://github.com/lin-ycv/ScoopExtras.git --depth 1
|
||||
cd .\ScoopExtras\bucket
|
||||
rm everything-powertoys.json -Force
|
||||
Invoke-WebRequest https://github.com/lin-ycv/EverythingPowerToys/raw/scoop/everything-powertoys.json -OutFile everything-powertoys.json
|
||||
(Get-Content everything-powertoys.json) | ForEach-Object {$_ -Replace '_VERSION_', $ver} | ForEach-Object {$_ -Replace '_URL_', $zip} | ForEach-Object {$_ -Replace '_CRC_', $ziphash} | ForEach-Object {$_ -Replace '_armURL_', $zipARM} | ForEach-Object {$_ -Replace '_armCRC_', $zipARMhash} | Set-Content everything-powertoys.json
|
||||
git add .
|
||||
git commit -m "everything-powertoys update to $ver"
|
||||
git push -f
|
||||
gh pr create --base main --head EverythingPowerToys --title "everything-powertoys update to $ver" --body "- [X] I have read the [Contributing Guide](https://github.com/ScoopInstaller/.github/blob/main/.github/CONTRIBUTING.md).`r`n`r`n/verify"
|
||||
# cd ..
|
||||
# git clone -b EverythingPowerToys https://github.com/lin-ycv/ScoopExtras.git --depth 1
|
||||
# cd .\ScoopExtras\bucket
|
||||
# gh repo sync lin-ycv/ScoopExtras -b master
|
||||
# git pull
|
||||
# rm everything-powertoys.json -Force
|
||||
# Invoke-WebRequest https://github.com/lin-ycv/EverythingPowerToys/raw/scoop/everything-powertoys.json -OutFile everything-powertoys.json
|
||||
# (Get-Content everything-powertoys.json) | ForEach-Object {$_ -Replace '_VERSION_', $ver} | ForEach-Object {$_ -Replace '_URL_', $zip} | ForEach-Object {$_ -Replace '_CRC_', $ziphash} | ForEach-Object {$_ -Replace '_armURL_', $zipARM} | ForEach-Object {$_ -Replace '_armCRC_', $zipARMhash} | Set-Content everything-powertoys.json
|
||||
# git add .
|
||||
# git commit -m "everything-powertoys@$ver : update"
|
||||
# git push -f
|
||||
# gh repo set-default ScoopInstaller/Extras
|
||||
# gh pr create --base master --title "everything-powertoys@$ver : update" --body "- [X] I have read the [Contributing Guide](https://github.com/ScoopInstaller/.github/blob/main/.github/CONTRIBUTING.md)."
|
||||
|
Loading…
Reference in New Issue
Block a user