mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-07 10:14:14 -04:00
Fix repo connections
This commit is contained in:
parent
75dada6308
commit
3d20ff69d4
@ -30,10 +30,6 @@ jobs:
|
|||||||
|
|
||||||
# Generate npm api client
|
# Generate npm api client
|
||||||
# Unstable
|
# Unstable
|
||||||
- task: npmAuthenticate@0
|
|
||||||
displayName: 'Authenticate to unstable npm feed'
|
|
||||||
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
|
|
||||||
|
|
||||||
- task: CmdLine@2
|
- task: CmdLine@2
|
||||||
displayName: 'Build unstable typescript axios client'
|
displayName: 'Build unstable typescript axios client'
|
||||||
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/master')
|
||||||
@ -46,14 +42,10 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
command: publish
|
command: publish
|
||||||
publishRegistry: useFeed
|
publishRegistry: useFeed
|
||||||
publishFeed: jellyfin/unstable
|
publishFeed: unstable
|
||||||
workingDir: ./apiclient/generated/typescript/axios
|
workingDir: ./apiclient/generated/typescript/axios
|
||||||
|
|
||||||
# Stable
|
# Stable
|
||||||
- task: npmAuthenticate@0
|
|
||||||
displayName: 'Authenticate to stable npm feed'
|
|
||||||
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
|
|
||||||
|
|
||||||
- task: CmdLine@2
|
- task: CmdLine@2
|
||||||
displayName: 'Build stable typescript axios client'
|
displayName: 'Build stable typescript axios client'
|
||||||
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
|
condition: startsWith(variables['Build.SourceBranch'], 'refs/tags/v')
|
||||||
@ -66,5 +58,5 @@ jobs:
|
|||||||
inputs:
|
inputs:
|
||||||
command: publish
|
command: publish
|
||||||
publishRegistry: useExternalRegistry
|
publishRegistry: useExternalRegistry
|
||||||
publishEndpoint:
|
publishEndpoint: 'jellyfin-bot for NPM'
|
||||||
workingDir: ./apiclient/generated/typescript/axios
|
workingDir: ./apiclient/generated/typescript/axios
|
||||||
|
@ -6,4 +6,4 @@ java -jar openapi-generator-cli.jar generate \
|
|||||||
--output ./apiclient/generated/typescript/axios \
|
--output ./apiclient/generated/typescript/axios \
|
||||||
--template-dir ./apiclient/templates/typescript/axios \
|
--template-dir ./apiclient/templates/typescript/axios \
|
||||||
--ignore-file-override ./apiclient/.openapi-generator-ignore \
|
--ignore-file-override ./apiclient/.openapi-generator-ignore \
|
||||||
--additional-properties=useSingleRequestParameter="true",withSeparateModelsAndApi="true",npmName="axios",snapshotVersion="-SNAPSHOT.$(Build.BuildNumber)",npmRepository="https://dev.azure.com/jellyfin-project/jellyfin/_packaging"
|
--additional-properties=useSingleRequestParameter="true",withSeparateModelsAndApi="true",npmName="axios",snapshotVersion="-SNAPSHOT.$(Build.BuildNumber)",npmRepository="https://pkgs.dev.azure.com/jellyfin-project/jellyfin/_packaging/unstable/npm/registry/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user