Skip to content

Commit 6f4c479

Browse files
authored
add v to tag (#796)
1 parent f69bf83 commit 6f4c479

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/draft.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ jobs:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4545
run: |
4646
$VERSION = Get-ChildItem -Path pkg/*.nupkg -Name | Select-String -Pattern '\d+.\d+.\d+' | foreach {$_.Matches.Value}
47-
gh release create -d --generate-notes $VERSION
47+
gh release create -d --generate-notes v$VERSION

version.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
33
"version": "7.1",
44
"publicReleaseRefSpec": [
5-
"^refs/heads/master$"
5+
"^refs/heads/master$",
6+
"^refs/tags/v\\d+\\.\\d+\\.\\d+"
67
],
78
"cloudBuild": {
89
"setVersionVariables": false

0 commit comments

Comments
 (0)