Skip to content

Commit

Permalink
add v to tag (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
tg123 authored Mar 20, 2022
1 parent f69bf83 commit 6f4c479
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/draft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
$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
3 changes: 2 additions & 1 deletion version.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "7.1",
"publicReleaseRefSpec": [
"^refs/heads/master$"
"^refs/heads/master$",
"^refs/tags/v\\d+\\.\\d+\\.\\d+"
],
"cloudBuild": {
"setVersionVariables": false
Expand Down

0 comments on commit 6f4c479

Please sign in to comment.