add v to tag (#796)
This commit is contained in:
2
.github/workflows/draft.yaml
vendored
2
.github/workflows/draft.yaml
vendored
@@ -44,4 +44,4 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
$VERSION = Get-ChildItem -Path pkg/*.nupkg -Name | Select-String -Pattern '\d+.\d+.\d+' | foreach {$_.Matches.Value}
|
$VERSION = Get-ChildItem -Path pkg/*.nupkg -Name | Select-String -Pattern '\d+.\d+.\d+' | foreach {$_.Matches.Value}
|
||||||
gh release create -d --generate-notes $VERSION
|
gh release create -d --generate-notes v$VERSION
|
||||||
|
|||||||
@@ -2,7 +2,8 @@
|
|||||||
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
|
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
|
||||||
"version": "7.1",
|
"version": "7.1",
|
||||||
"publicReleaseRefSpec": [
|
"publicReleaseRefSpec": [
|
||||||
"^refs/heads/master$"
|
"^refs/heads/master$",
|
||||||
|
"^refs/tags/v\\d+\\.\\d+\\.\\d+"
|
||||||
],
|
],
|
||||||
"cloudBuild": {
|
"cloudBuild": {
|
||||||
"setVersionVariables": false
|
"setVersionVariables": false
|
||||||
|
|||||||
Reference in New Issue
Block a user