mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-04-14 04:56:37 +00:00
removed git describe command & commented more steps out
This commit is contained in:
parent
73088c9977
commit
b650e5186e
2 changed files with 7 additions and 7 deletions
2
.github/scripts/GenerateVersionNumber.ps1
vendored
2
.github/scripts/GenerateVersionNumber.ps1
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
$latestVersions = $(git describe --tags $(git tag --merged master))
|
$latestVersions = $(git tag --merged master)
|
||||||
$latestVersion = [version]"0.0.0"
|
$latestVersion = [version]"0.0.0"
|
||||||
Foreach ($version in $latestVersions) {
|
Foreach ($version in $latestVersions) {
|
||||||
Write-Host $version
|
Write-Host $version
|
||||||
|
|
|
||||||
12
.github/workflows/docker.yml
vendored
12
.github/workflows/docker.yml
vendored
|
|
@ -27,12 +27,12 @@ jobs:
|
||||||
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
|
||||||
git submodule sync --recursive
|
git submodule sync --recursive
|
||||||
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
|
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
|
# - name: Set Build to Release if triggered from Master
|
||||||
run: |
|
# run: |
|
||||||
if("$($Env:GITHUB_REF)".contains("$($Env:RELEASE_BRANCH)")) {
|
# if("$($Env:GITHUB_REF)".contains("$($Env:RELEASE_BRANCH)")) {
|
||||||
Write-Host "Setting build type to Release"
|
# Write-Host "Setting build type to Release"
|
||||||
Write-Output "::set-env name=BUILD_TYPE::Release"
|
# Write-Output "::set-env name=BUILD_TYPE::Release"
|
||||||
}
|
# }
|
||||||
- name: Set Version Number
|
- name: Set Version Number
|
||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue