create a new azure devops extensions
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -7,7 +7,8 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [windows-latest, ubuntu-latest, macos-latest]
|
#os: [windows-latest, ubuntu-latest, macos-latest]
|
||||||
|
os: [ubuntu-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: Fetch tags and master for GitVersion
|
- name: Fetch tags and master for GitVersion
|
||||||
@@ -22,7 +23,10 @@ jobs:
|
|||||||
id: gitversion # step id used as reference for output values
|
id: gitversion # step id used as reference for output values
|
||||||
uses: ./execute-gitversion
|
uses: ./execute-gitversion
|
||||||
- run: |
|
- run: |
|
||||||
echo "FullSemVer: ${{ steps.gitversion.outputs.fullSemVer }}"
|
|
||||||
npm install
|
npm install
|
||||||
npm run tfx-azure-pack -- --override '{\"version\": \"2.2.3\"}'
|
$date = Get-Date -format "yyyyMMddHHmm"
|
||||||
|
$version = "${{steps.gitversion.outputs.majorMinorPatch}}.$date"
|
||||||
|
$override = '{\"version\": \"' + $version + '\"}'
|
||||||
|
npm run pack-azure -- --override $override
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
name: Pack Azure extension
|
||||||
|
|||||||
Reference in New Issue
Block a user