Skip to content

Commit

Permalink
Add full release build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Graicc committed May 23, 2022
1 parent a7a0ac0 commit 88e8074
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions GorillaKZ/MakeReleaseFull.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Needs to be at least that version, or mmm can't read the archiveme = (ls *.csproj).BaseName:vs)
#Requires -Modules @{ ModuleName="Microsoft.PowerShell.Archive"; ModuleVersion="1.2.3" }
$MyInvocation.MyCommand.Path | Split-Path | Push-Location # Run from this script's directory
$Name = (ls *.csproj).BaseName
dotnet build -c Release

curl -L https://github.com/Graicc/GorillaKZ/releases/download/v0.1.0/GorillaKZ-v0.1.0.zip -o DL.zip
Expand-Archive DL.zip
rm DL.zip
mv DL\BepInEx .

cp .\Resources\BepInEx\ . -R -F
cp bin\Release\netstandard2.0\$Name.dll BepInEx\plugins\$Name\
Compress-Archive .\BepInEx\ $Name-v
rmdir .\BepInEx\ -Recurse

0 comments on commit 88e8074

Please sign in to comment.