Skip to content

Commit e91f167

Browse files
committed
fix(build): Fix NuGet package version
1 parent 2a905a4 commit e91f167

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deployment/publish.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
version=$(cat version)
33
publish_dir="./source/$1/bin/Release"
44
full_version="$version.$2"
5-
package_name="$1.$full_version.nupkg"
5+
package_name="$1.$version.nupkg"
66

77
dotnet pack \
88
./source/"$1"/"$1".csproj \
99
--configuration Release \
1010
-p:AssemblyVersion="$full_version" \
1111
-p:AssemblyFileVersion="$full_version" \
12-
-p:PackageVersion="$full_version" \
12+
-p:PackageVersion="$version" \
1313
-p:InformationalVersion="$version""$3" \
1414
/nologo ||
1515
exit

0 commit comments

Comments
 (0)