removed git describe command & commented more steps out

This commit is contained in:
Andrew Welker
2020-03-16 13:56:24 -06:00
parent 73088c9977
commit b650e5186e
2 changed files with 7 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
$latestVersions = $(git describe --tags $(git tag --merged master))
$latestVersions = $(git tag --merged master)
$latestVersion = [version]"0.0.0"
Foreach ($version in $latestVersions) {
Write-Host $version

View File

@@ -27,12 +27,12 @@ jobs:
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Set Build to Release if triggered from Master
run: |
if("$($Env:GITHUB_REF)".contains("$($Env:RELEASE_BRANCH)")) {
Write-Host "Setting build type to Release"
Write-Output "::set-env name=BUILD_TYPE::Release"
}
# - name: Set Build to Release if triggered from Master
# run: |
# if("$($Env:GITHUB_REF)".contains("$($Env:RELEASE_BRANCH)")) {
# Write-Host "Setting build type to Release"
# Write-Output "::set-env name=BUILD_TYPE::Release"
# }
- name: Set Version Number
shell: powershell
run: |