Skip to content

Commit

Permalink
pack
Browse files Browse the repository at this point in the history
  • Loading branch information
andreakarasho committed Mar 10, 2024
1 parent 05c30f0 commit 7cd7bd9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions scripts/pack.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

# Check if the version parameter is provided
if [ -z "$1" ]; then
echo "Usage: $0 <version>"
exit 1
fi

version="$1"

# Pack main project
dotnet pack ../src/ -c Release -o ../dist -p:PackageVersion=$version

# Pack TinyEcs.Plugins project
dotnet pack ../plugins/TinyEcs.Plugins -c Release -o ../dist -p:PackageVersion=$version

0 comments on commit 7cd7bd9

Please sign in to comment.