-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): Add statements for debugging (#1586)
- Loading branch information
1 parent
5d0773d
commit e2f9398
Showing
1 changed file
with
5 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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] | ||
|
@@ -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 | ||
|