publish azure extension

This commit is contained in:
Artur Stolear
2019-11-30 20:50:31 +02:00
parent c43caa6782
commit 8d2218c621
5 changed files with 8 additions and 7 deletions

View File

@@ -24,9 +24,10 @@ jobs:
uses: ./execute-gitversion
- run: |
npm install
$date = Get-Date -format "yyyyMMddHHmm"
$date = Get-Date -format "yyMMddHHmm"
$version = "${{steps.gitversion.outputs.majorMinorPatch}}.$date"
$override = '{\"version\": \"' + $version + '\"}'
npm run pack-azure -- --override $override
npm run publish-azure -- --token ${{ secrets.TFX_TOKEN }} --override $override
# npm run pack-azure -- --override $override
shell: pwsh
name: Pack Azure extension
name: Publish Azure extension

View File

@@ -1,5 +1,5 @@
{
"id": "9b58ed30-0deb-4083-b007-5f6ce7787544",
"id": "9013cf7f-ee8d-49f4-a39b-db244928d391",
"name": "gitversion-execute",
"friendlyName": "Execute GitVersion Task",
"description": "Easy Semantic Versioning (http://semver.org) for projects using Git",

View File

@@ -1,5 +1,5 @@
{
"id": "67561427-431b-4ab7-97bb-aa71c8deb5d0",
"id": "a06c02ae-7b9a-4082-90dc-fe27b500e54f",
"name": "gitversion-setup",
"friendlyName": "Setup GitVersion Task",
"description": "Easy Semantic Versioning (http://semver.org) for projects using Git",

View File

@@ -1,6 +1,6 @@
{
"manifestVersion": 1,
"id": "gittools-test",
"id": "gittools",
"name": "GitTools",
"version": "0.0.1",
"publisher": "gittools",

View File

@@ -15,7 +15,7 @@
"package-azure-execute": "ncc build src/azure/execute.ts -o dist/azure/execute",
"package-github-setup": "ncc build src/github/setup.ts -o dist/github/setup",
"package-github-execute": "ncc build src/github/execute.ts -o dist/github/execute",
"pack-azure": "tfx extension create --root ./dist/azure --output-path ./dist/azure"
"publish-azure": "tfx extension publish --root ./dist/azure --no-wait-validation --auth-type pat"
},
"author": "GitTools",
"contributors": [