mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 13:57:14 -04:00
commit
a9d9f24078
@ -28,6 +28,12 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
script: "wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/${{ parameters.GeneratorVersion }}/openapi-generator-cli-${{ parameters.GeneratorVersion }}.jar -O openapi-generator-cli.jar"
|
script: "wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/${{ parameters.GeneratorVersion }}/openapi-generator-cli-${{ parameters.GeneratorVersion }}.jar -O openapi-generator-cli.jar"
|
||||||
|
|
||||||
|
- task: Npm@1
|
||||||
|
displayName: 'Install npm dependencies'
|
||||||
|
inputs:
|
||||||
|
command: install
|
||||||
|
workingDir: ./apiclient/generated/typescript/axios
|
||||||
|
|
||||||
# Generate npm api client
|
# Generate npm api client
|
||||||
# Unstable
|
# Unstable
|
||||||
- task: CmdLine@2
|
- task: CmdLine@2
|
||||||
@ -42,7 +48,7 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
command: publish
|
command: publish
|
||||||
publishRegistry: useFeed
|
publishRegistry: useFeed
|
||||||
publishFeed: 'unstable@Local'
|
publishFeed: 'jellyfin/unstable'
|
||||||
workingDir: ./apiclient/generated/typescript/axios
|
workingDir: ./apiclient/generated/typescript/axios
|
||||||
|
|
||||||
# Stable
|
# Stable
|
||||||
|
@ -4,7 +4,7 @@ artifactsDirectory="${1}"
|
|||||||
buildNumber="${2}"
|
buildNumber="${2}"
|
||||||
if [[ -n ${buildNumber} ]]; then
|
if [[ -n ${buildNumber} ]]; then
|
||||||
# Unstable build
|
# Unstable build
|
||||||
additionalProperties=",snapshotVersion=-SNAPSHOT.${buildNumber},npmRepository=https://pkgs.dev.azure.com/jellyfin-project/jellyfin/_packaging/unstable%40Local/npm/registry/"
|
additionalProperties=",snapshotVersion=-SNAPSHOT.${buildNumber},npmRepository=https://pkgs.dev.azure.com/jellyfin-project/jellyfin/_packaging/unstable/npm/registry/"
|
||||||
else
|
else
|
||||||
# Stable build
|
# Stable build
|
||||||
additionalProperties=""
|
additionalProperties=""
|
||||||
|
Loading…
Reference in New Issue
Block a user