update to version 5.x the gitversion tool
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -16,13 +16,13 @@ jobs:
|
|||||||
git fetch --prune --unshallow
|
git fetch --prune --unshallow
|
||||||
- run: |
|
- run: |
|
||||||
npm install
|
npm install
|
||||||
npm run build:github
|
npm run build:github
|
||||||
npm run build:azure
|
npm run build:azure
|
||||||
name: Build code
|
name: Build code
|
||||||
- name: Install GitVersion
|
- name: Install GitVersion
|
||||||
uses: ./gitversion/setup
|
uses: ./gitversion/setup
|
||||||
with:
|
with:
|
||||||
versionSpec: '5.1.2'
|
versionSpec: '5.x'
|
||||||
- name: Use GitVersion
|
- name: Use GitVersion
|
||||||
id: gitversion # step id used as reference for output values
|
id: gitversion # step id used as reference for output values
|
||||||
uses: ./gitversion/execute
|
uses: ./gitversion/execute
|
||||||
|
|||||||
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -17,16 +17,16 @@ jobs:
|
|||||||
git fetch --prune --unshallow
|
git fetch --prune --unshallow
|
||||||
- run: |
|
- run: |
|
||||||
npm install
|
npm install
|
||||||
npm run build:github
|
npm run build:github
|
||||||
npm run build:azure
|
npm run build:azure
|
||||||
|
|
||||||
npm run compress:github
|
npm run compress:github
|
||||||
npm run compress:azure
|
npm run compress:azure
|
||||||
name: Build code
|
name: Build code
|
||||||
- name: Install GitVersion
|
- name: Install GitVersion
|
||||||
uses: ./gitversion/setup
|
uses: ./gitversion/setup
|
||||||
with:
|
with:
|
||||||
versionSpec: '5.1.2'
|
versionSpec: '5.x'
|
||||||
- name: Use GitVersion
|
- name: Use GitVersion
|
||||||
id: gitversion # step id used as reference for output values
|
id: gitversion # step id used as reference for output values
|
||||||
uses: ./gitversion/execute
|
uses: ./gitversion/execute
|
||||||
|
|||||||
Reference in New Issue
Block a user