Skip to content

Commit

Permalink
add release note URL updator
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender committed Mar 5, 2024
1 parent 2985a24 commit eab55f8
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/deploy-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ jobs:
echo "Composed version is:"
echo $COMPOSED_VERSION
- name: Update release notes URL
uses: jacobtomlinson/gha-find-replace@v3
with:
include: "**/*.csproj"
find: "https://github.com/DaveSkender/Stock.Indicators/releases"
replace: "https://github.com/DaveSkender/Stock.Indicators/releases/tag/${{ steps.compose.outputs.version }}"
regex: false

- name: Install .NET SDK
uses: actions/setup-dotnet@v4
with:
Expand All @@ -67,7 +75,7 @@ jobs:
run: >
dotnet build src/Indicators.csproj
--configuration Release
--property:Version=$COMPOSED_VERSION
--property:Version=${{ steps.compose.outputs.version }}
--property:ContinuousIntegrationBuild=true
-warnAsError
Expand All @@ -78,7 +86,7 @@ jobs:
--no-build
--include-symbols
--output NuGet
-p:PackageVersion=$COMPOSED_VERSION
-p:PackageVersion=${{ steps.compose.outputs.version }}
- name: Save NuGet package
uses: actions/upload-artifact@v3
Expand All @@ -95,7 +103,7 @@ jobs:
echo "| Minor | ${{ steps.gitversion.outputs.minor }} |"
echo "| Patch | ${{ steps.gitversion.outputs.patch }} |"
echo "| Base | ${{ steps.gitversion.outputs.majorMinorPatch }} |"
echo "| Composed | $COMPOSED_VERSION |"
echo "| Composed | ${{ steps.compose.outputs.COMPOSED_VERSION }} |"
} >> $GITHUB_STEP_SUMMARY
deploy:
Expand Down

0 comments on commit eab55f8

Please sign in to comment.