Skip to content

Commit

Permalink
ci: 💚 Fix release badge url in milestone body
Browse files Browse the repository at this point in the history
  • Loading branch information
sergey-s-betke committed May 4, 2021
1 parent 23761c2 commit 11377cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:
-Body $releaseDescription `
-Committish '${{ github.sha }}' `
-Verbose;
echo "::set-output name=url::$( $release.url )";
echo "::set-output name=url::$( $release.html_url )";
echo "::set-output name=tag_name::$( $release.tag_name )";
Write-Verbose 'Adding produced files...';
$asset = New-GitHubReleaseAsset -Release ( $release.ID ) -Path '${{ steps.build.outputs.assetsContainerPath }}' -Verbose;
Expand All @@ -133,7 +133,7 @@ jobs:
$releaseNotes = ( Get-Content -Path '${{ steps.generate_release_notes.outputs.releaseNotesPath }}' -Encoding UTF8 -Raw );
$releaseDescription = `
"[![${{ steps.release.outputs.tag_name }}](https://img.shields.io/badge/release-2.3.8-blue?style=plastic&logo=github)](${{ steps.release.outputs.url }})" +
".`r`n`r`n" + $releaseNotes;
"`r`n`r`n" + $releaseNotes;
Set-GitHubMilestone `
-OwnerName '${{ github.repository_owner }}' -RepositoryName '${{ github.event.repository.name }}' `
-Milestone ( $currentMilestone.MilestoneNumber ) `
Expand Down

0 comments on commit 11377cd

Please sign in to comment.