Skip to content

Commit

Permalink
update pipelien
Browse files Browse the repository at this point in the history
  • Loading branch information
Thibault DESAULES committed Dec 31, 2020
1 parent 86ea8c8 commit 4256d92
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .azuredevops/pipelines/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -228,15 +228,16 @@ stages:
npm install @tdesaules/resume@$(version) --prefix $(System.DefaultWorkingDirectory)
displayName: download @tdesaules/resume package
- script: |
tar -cvzf $(System.DefaultWorkingDirectory)/dist.tar.gz $(System.DefaultWorkingDirectory)/node_modules/@tdesaules/resume/dist/*
cd $(System.DefaultWorkingDirectory)/node_modules/@tdesaules/resume/dist/
tar -cvzf $(System.DefaultWorkingDirectory)/dist.tar.gz *
displayName: create dist archive
- task: GitHubRelease@0
inputs:
gitHubConnection: github.com_tdesaules
repositoryName: tdesaules/resume
action: create
tagSource: manual
tag: $(version)
tag: azuredevops_$(version)
title: AzureDevops/$(version)
assets: $(System.DefaultWorkingDirectory)/dist.tar.gz
displayName: create github release
3 changes: 2 additions & 1 deletion .azuredevops/pipelines/try.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ stages:
npm install @tdesaules/resume@$(version) --prefix $(System.DefaultWorkingDirectory)
displayName: download @tdesaules/resume package
- script: |
tar -cvzf $(System.DefaultWorkingDirectory)/dist.tar.gz $(System.DefaultWorkingDirectory)/node_modules/@tdesaules/resume/dist/*
cd $(System.DefaultWorkingDirectory)/node_modules/@tdesaules/resume/dist/
tar -cvzf $(System.DefaultWorkingDirectory)/dist.tar.gz *
displayName: create dist archive
- task: GitHubRelease@0
inputs:
Expand Down

0 comments on commit 4256d92

Please sign in to comment.