Skip to content

Commit 4a1cab8

Browse files
authored
Merge pull request #24 from leeoades/copilot/fix-action-run-error-v120
Fix release workflow Pack step - handle special characters in release notes
2 parents 1d2e303 + 1625904 commit 4a1cab8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
4242
- name: Pack
4343
run: |
44-
RELEASE_NOTES=$(cat release-notes.txt)
44+
RELEASE_NOTES="See https://github.com/leeoades/FunctionalStateMachine/releases/tag/v${VERSION} for full release notes"
4545
dotnet pack src/FunctionalStateMachine.Core/FunctionalStateMachine.Core.csproj --configuration Release --no-build --output ./artifacts --include-symbols --include-source /p:PackageVersion=${VERSION} /p:PackageReleaseNotes="$RELEASE_NOTES"
4646
dotnet pack src/FunctionalStateMachine.CommandRunner/FunctionalStateMachine.CommandRunner.csproj --configuration Release --no-build --output ./artifacts --include-symbols --include-source /p:PackageVersion=${VERSION} /p:PackageReleaseNotes="$RELEASE_NOTES"
4747
dotnet pack src/FunctionalStateMachine.Diagrams/FunctionalStateMachine.Diagrams.csproj --configuration Release --no-build --output ./artifacts /p:PackageVersion=${VERSION} /p:IncludeSymbols=false /p:PackageReleaseNotes="$RELEASE_NOTES"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@ obj/
44
riderModule.iml
55
/_ReSharper.Caches/
66
.idea/
7+
artifacts/
78

89
*.user

0 commit comments

Comments
 (0)