Skip to content

Commit

Permalink
update: tag name in GH Action
Browse files Browse the repository at this point in the history
  • Loading branch information
1299172402 committed Jul 25, 2023
1 parent b56d72b commit f4f1098
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ jobs:
- name: Update BBDown_GUI version
run: |
$version = "$(git describe --tags --always)"
$version = ""
if (${{ github.event.inputs.doRelease == 'true' }}) {
$version = "$(git describe --tags --abbrev=0)"
} else {
$version = "$(git describe --tags --always)"
}
Write-Host BBDown_GUI-Version: $version
# Replace BBDown_GUI version in ui_about.py
Expand Down

0 comments on commit f4f1098

Please sign in to comment.