Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementation of Azure Pipelines for building *.WGT files and releasing them to Github #17

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open
Prev Previous commit
Next Next commit
Added artifacts for Azure Pipelines
  • Loading branch information
robinkruyt committed Apr 20, 2020
commit a153c962d737068d8be97c01000022943bbe1b8b
23 changes: 20 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ jobs:
inputs:
script: |
export PATH=$TIZEN_HOME_DIR/tizen-studio/tools:$TIZEN_HOME_DIR/tizen-studio/tools/ide/bin:$PATH
ls $TIZEN_HOME_DIR/tizen-studio/tools
ls $TIZEN_HOME_DIR/tizen-studio/tools/ide/bin

mkdir -p $CERTIFICATE_DIR

Expand All @@ -87,4 +85,23 @@ jobs:
script: |
export PATH=$TIZEN_HOME_DIR/tizen-studio/tools:$TIZEN_HOME_DIR/tizen-studio/tools/ide/bin:$PATH
tizen build-web -e ".*" -e gulpfile.js -e README.md -e "node_modules/*" -e "jellyfin-web/*" -e "package*.json" -e "yarn.lock"
tizen package -t wgt -s debug -- .buildResult
tizen package -t wgt -s debug -- .buildResult

- task: CopyFiles@2
displayName: Staging artifacts
inputs:
SourceFolder: '.buildResult'
Contents: '*.wgt'
TargetFolder: '$(Build.ArtifactStagingDirectory)'
OverWrite: true

- task: GitHubRelease@1
displayName: Creating Github Release
inputs:
gitHubConnection: 'github.com_robinkruyt'
repositoryName: '$(Build.Repository.Name)'
action: 'create'
target: '$(Build.SourceVersion)'
tagSource: 'userSpecifiedTag'
tag: '$(Build.BuildNumber)'
addChangeLog: false