Skip to content

Commit

Permalink
Merge pull request #527 from momentohq/feature/update-unity-zip
Browse files Browse the repository at this point in the history
feat: update unity zip
  • Loading branch information
cprice404 authored Feb 6, 2024
2 parents da3a044 + ee7c5ad commit 3fbed5b
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 3fbed5b

Please sign in to comment.