Skip to content

Commit

Permalink
chore(release): Add statements for debugging (#1586)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkro authored Mar 27, 2024
1 parent 5d0773d commit e2f9398
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/release-windows-installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,16 @@ jobs:
- name: Output latest tag
id: latest-tag
run: |
tag=$(git describe --tags --abbrev=0)
$tag = git describe --tags --abbrev=0
echo " "
echo "Latest tag - before: ${tag}"
echo " "
Write-Host "Latest tag - before: $tag"
git fetch origin
git fetch --tags
latestTag=$(git describe --tags --abbrev=0)
$latestTag = git describe --tags --abbrev=0
echo " "
echo "Latest tag - after: ${latestTag}"
echo " "
Write-Host "Latest tag - after: $latestTag"
- name: Add msbuild to PATH
uses: microsoft/[email protected]
Expand All @@ -52,6 +48,7 @@ jobs:
- name: Compile installer
run: |
$LATEST_VERSION = git describe --tags --abbrev=0 | ForEach-Object { $_ -replace 'v', '' }
Write-Host "(Compile installer) Latest version $LATEST_VERSION"
msbuild .\build\package\msi\NewRelicCLIInstaller.sln -p:Version=$LATEST_VERSION
- name: Create PFX certificate
Expand Down

0 comments on commit e2f9398

Please sign in to comment.