From 4dc9d0b59b1dbb6d0e93f8479300a0ee4a7ef916 Mon Sep 17 00:00:00 2001 From: Andrew Welker Date: Mon, 16 Mar 2020 14:00:01 -0600 Subject: [PATCH] getting git version & checking command validity --- .github/workflows/docker.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index ef66bad..bf9adb7 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -27,17 +27,23 @@ 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: Testing git command + shell: powershell + run: | + Write-Host $(git --version) + Write-Host $(git tag --merged master) + # - 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: | - $version = ./.github/scripts/GenerateVersionNumber.ps1 - Write-Output "::set-env name=VERSION::$version" + # - name: Set Version Number + # shell: powershell + # run: | + # $version = ./.github/scripts/GenerateVersionNumber.ps1 + # Write-Output "::set-env name=VERSION::$version" # - name: Update AssemblyInfo.cs # shell: powershell # run: |