Merge pull request #4281 from crobibero/npm-registry

Fix registry name and link
This commit is contained in:
Anthony Lavado 2020-10-09 00:10:56 -04:00 committed by GitHub
commit 10d48b0623
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ jobs:
inputs:
command: publish
publishRegistry: useFeed
publishFeed: unstable
publishFeed: 'unstable@Local'
workingDir: ./apiclient/generated/typescript/axios
# Stable

View File

@ -4,7 +4,7 @@ artifactsDirectory="${1}"
buildNumber="${2}"
if [[ -n ${buildNumber} ]]; then
# Unstable build
additionalProperties=",snapshotVersion=\"-SNAPSHOT.${buildNumber}\",npmRepository=\"https://pkgs.dev.azure.com/jellyfin-project/jellyfin/_packaging/unstable/npm/registry/\""
additionalProperties=",snapshotVersion=-SNAPSHOT.${buildNumber},npmRepository=https://pkgs.dev.azure.com/jellyfin-project/jellyfin/_packaging/unstable%40Local/npm/registry/"
else
# Stable build
additionalProperties=""