Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Freezor committed Jun 16, 2024
1 parent 6a9488a commit 578c36b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/prerelease-on-merge-to-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,8 @@ jobs:
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git tag v${{ steps.generate_version_number.outputs.version }}
git push origin v${{ steps.generate_version_number.outputs.version }}
git tag ${{ steps.generate_version_number.outputs.version }}
git push origin ${{ steps.generate_version_number.outputs.version }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion src/BuildVersionNumber.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function GetVersion {
}

# Construct the semantic version.
$semanticVersion = "$versionCore.$buildNumber-$aasmodel-$suffix-$buildSuffix"
$semanticVersion = "v$versionCore.$buildNumber-$aasmodel-$suffix-$buildSuffix"

return $semanticVersion
}
Expand Down

0 comments on commit 578c36b

Please sign in to comment.