Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
2 parents 3efc17f + 3fbed5b commit 4308aa2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/on-push-to-release-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,11 @@ jobs:
rm -rf bin
VERSION="${{ needs.release.outputs.version }}"
echo "version: ${VERSION}"
dotnet publish --configuration Release -f netstandard2.0 -p:DefineConstants=USE_GRPC_WEB
dotnet publish --configuration Release -f netstandard2.0 -p:DefineConstants=USE_GRPC_WEB -p:VersionPrefix=${VERSION}
mkdir ./bin/Release/netstandard2.0/MomentoSdkUnity
cp -r ./bin/Release/netstandard2.0/publish/*.dll ./bin/Release/netstandard2.0/MomentoSdkUnity/
rm ./bin/Release/netstandard2.0/MomentoSdkUnity/Microsoft.CSharp.dll
pushd ./bin/Release/netstandard2.0/publish/
cp Google.Protobuf.dll Grpc.Core.Api.dll Grpc.Net.Client.dll Grpc.Net.Client.Web.dll Grpc.Net.Common.dll JWT.dll Microsoft.Bcl.AsyncInterfaces.dll Microsoft.Extensions.Logging.Abstractions.dll Momento.Protos.dll Momento.Sdk.dll System.Diagnostics.DiagnosticSource.dll System.Runtime.CompilerServices.Unsafe.dll System.Threading.Channels.dll ../MomentoSdkUnity/
popd
zip -jr MomentoSdkUnity.zip bin/Release/netstandard2.0/MomentoSdkUnity/
ZIP_FILE=./MomentoSdkUnity.zip
ARCHIVE_FILE_NAME=MomentoSdkUnity-${VERSION}.zip
Expand Down

0 comments on commit 4308aa2

Please sign in to comment.