update url

This commit is contained in:
Pig Fang 2020-07-16 18:35:03 +08:00
parent 11305acc6a
commit 2d92d6f35c
No known key found for this signature in database
GPG Key ID: A8198F548DADA9E2
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@ return [
'update_source' => env(
'UPDATE_SOURCE',
'https://dev.azure.com/blessing-skin/51010f6d-9f99-40f1-a262-0a67f788df32/_apis/git/'.
'repositories/a9ff8df7-6dc3-4ff8-bb22-4871d3a43936/Items?path=%2Fupdate_preview.json'
'repositories/a9ff8df7-6dc3-4ff8-bb22-4871d3a43936/Items?path=%2Fupdate.json'
),
'name' => env('APP_NAME', 'blessing_skin'),

View File

@ -33,7 +33,7 @@ return [
*/
'registry' => env(
'PLUGINS_REGISTRY',
'https://cdn.jsdelivr.net/gh/bs-community/plugins-dist@latest/registry-preview_{lang}.json'
'https://cdn.jsdelivr.net/gh/bs-community/plugins-dist@latest/registry_{lang}.json'
),
/*

View File

@ -30,7 +30,7 @@ Copy-Item -Path "../$zip" -Destination $zip
$manifest.latest = $current
$manifest.url = $manifest.url.Replace($last, $current)
$manifest.php = '7.2.5'
ConvertTo-Json $manifest | Out-File -FilePath update_preview.json
ConvertTo-Json $manifest | Out-File -FilePath update.json
Write-Host "Update source is prepared." -ForegroundColor Green
$azureToken = $env:AZURE_TOKEN