Skip to content

Commit

Permalink
fix(build): Fix NuGet package version
Browse files Browse the repository at this point in the history
  • Loading branch information
VMelnalksnis committed Jun 14, 2022
1 parent 2a905a4 commit e91f167
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deployment/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
version=$(cat version)
publish_dir="./source/$1/bin/Release"
full_version="$version.$2"
package_name="$1.$full_version.nupkg"
package_name="$1.$version.nupkg"

dotnet pack \
./source/"$1"/"$1".csproj \
--configuration Release \
-p:AssemblyVersion="$full_version" \
-p:AssemblyFileVersion="$full_version" \
-p:PackageVersion="$full_version" \
-p:PackageVersion="$version" \
-p:InformationalVersion="$version""$3" \
/nologo ||
exit
Expand Down

0 comments on commit e91f167

Please sign in to comment.