Update ci.yml

This commit is contained in:
Artur
2019-11-30 21:35:30 +02:00
committed by GitHub
parent 8d2218c621
commit c9f6b4a624

View File

@@ -22,12 +22,4 @@ jobs:
- name: Use GitVersion
id: gitversion # step id used as reference for output values
uses: ./execute-gitversion
- run: |
npm install
$date = Get-Date -format "yyMMddHHmm"
$version = "${{steps.gitversion.outputs.majorMinorPatch}}.$date"
$override = '{\"version\": \"' + $version + '\"}'
npm run publish-azure -- --token ${{ secrets.TFX_TOKEN }} --override $override
# npm run pack-azure -- --override $override
shell: pwsh
name: Publish Azure extension
- run: echo ${{ github.repository }} - ${{ github.repository }}