You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/build-and-publish.yml
+23-23Lines changed: 23 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,8 @@ on:
4
4
push:
5
5
branches:
6
6
- master
7
-
#tags:
8
-
# - "v*"
7
+
tags:
8
+
- "v*"
9
9
10
10
jobs:
11
11
build-test-publish:
@@ -44,11 +44,11 @@ jobs:
44
44
- name: Update version and release notes in .csproj (only on tag)
45
45
if: env.IS_TAG == 'true'
46
46
run: |
47
-
sed -i "s|<Version>.*</Version>|<Version>${VERSION}</Version>|" CQRSMediatr/CQRSMediatr.csproj
47
+
sed -i "s|<Version>.*</Version>|<Version>${VERSION}</Version>|" DynamicCode/DynamicCode.csproj
48
48
49
49
if [ "$RELEASE_NOTES_EXISTS" = "true" ]; then
50
50
RELEASE_NOTES_ESCAPED=$(printf '%s\n' "$RELEASE_NOTES" | sed 's/[&/\]/\\&/g')
51
-
sed -i "s|<PackageReleaseNotes>.*</PackageReleaseNotes>|<PackageReleaseNotes>${RELEASE_NOTES_ESCAPED}</PackageReleaseNotes>|" CQRSMediatr/CQRSMediatr.csproj
51
+
sed -i "s|<PackageReleaseNotes>.*</PackageReleaseNotes>|<PackageReleaseNotes>${RELEASE_NOTES_ESCAPED}</PackageReleaseNotes>|" DynamicCode/DynamicCode.csproj
52
52
fi
53
53
54
54
- name: Restore dependencies
@@ -63,23 +63,23 @@ jobs:
63
63
- name: Run tests
64
64
run: dotnet test DynamicCode.Test/DynamicCode.Test.csproj --configuration Release --no-build --verbosity normal
0 commit comments