Skip to content

Commit

Permalink
Fixing CI/CD Pipeline +semver: patch +tag +release +publish
Browse files Browse the repository at this point in the history
  • Loading branch information
darkquasar committed Sep 16, 2021
1 parent ee437fe commit 3e47cb1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/tag-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,15 @@ jobs:

# Invoke our wrapper around Invoke-Build
# We must install GitVersion since it's used by some Build Tasks via Powershell InvokeBuild
# To Add: choco install -y GitVersion.Portable --force
- name: Build Module
id: build_module
env:
GitVersionTag: ${{ needs.retrieve-git-version.outputs.GitVersionSemVer }}
TestVar: MyTestVarContent
run: |
Write-Host "GitVersion Environment Variable: $env:GitVersionTag"
Write-Host "GitVersion Environment Variable: $env:TestVar"
choco install -y GitVersion.Portable --force
.\BuildModule.ps1 -BuildTask "Default"
- name: Output BuildModuleDir
Expand Down

0 comments on commit 3e47cb1

Please sign in to comment.