ci: delete .git dir before packaging

This commit is contained in:
Jack Bond-Preston 2022-07-07 22:55:07 +01:00
parent b62d537f4e
commit 5f9037251a
Signed by: jack
GPG Key ID: 010071F1482BA852

View File

@ -32,7 +32,9 @@ pipeline:
- cd MagicStorage && dotnet build -c Release || true - cd MagicStorage && dotnet build -c Release || true
- cp bin/Release/net6.0/MagicStorage.dll . - cp bin/Release/net6.0/MagicStorage.dll .
- cd $CI_WORKSPACE - cd $CI_WORKSPACE
- cd MagicStorageVoidBag && dotnet build -c Release || true - cd MagicStorageVoidBag
- rm -rf .git
- dotnet build -c Release || true
- cp bin/Release/net6.0/MagicStorageVoidBag.dll . - cp bin/Release/net6.0/MagicStorageVoidBag.dll .
- cd $CI_WORKSPACE - cd $CI_WORKSPACE
- mkdir release - mkdir release