no message
This commit is contained in:
parent
c7020f1056
commit
f70ddb87b6
1 changed files with 2 additions and 2 deletions
4
.github/workflows/build-release.yaml
vendored
4
.github/workflows/build-release.yaml
vendored
|
|
@ -54,7 +54,7 @@ jobs:
|
||||||
while ($attempt -lt $maxRetries -and -not $success) {
|
while ($attempt -lt $maxRetries -and -not $success) {
|
||||||
try {
|
try {
|
||||||
git fetch --tags
|
git fetch --tags
|
||||||
$tags = git tag --sort=-v:refname | Where-Object { $_ -match '^\d+\.\d+\.\d+\.\d+$' }
|
$tags = git tag --sort=-v:refname | Where-Object { $_ -match '^v\d+\.\d+\.\d+\.\d+$' }
|
||||||
$latestTag = $tags -split '\n' | Select-Object -First 1
|
$latestTag = $tags -split '\n' | Select-Object -First 1
|
||||||
$versionNumbers = $latestTag -split '\.'
|
$versionNumbers = $latestTag -split '\.'
|
||||||
$versionNumbers[-1] = [string]([int]$versionNumbers[-1] + 1)
|
$versionNumbers[-1] = [string]([int]$versionNumbers[-1] + 1)
|
||||||
|
|
@ -129,7 +129,7 @@ jobs:
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ needs.version.outputs.version }}
|
tag_name: v${{ needs.version.outputs.version }}
|
||||||
name: Release ${{ needs.version.outputs.version }}
|
name: Release ${{ needs.version.outputs.version }}
|
||||||
body: ${{ steps.changelog.outputs.changelog }}
|
body: ${{ steps.changelog.outputs.changelog }}
|
||||||
draft: false
|
draft: false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue