Skip to content

Commit f4dc5bc

Browse files
committed
Updated automation
1 parent d21e784 commit f4dc5bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/create-release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ jobs:
2020
run: |
2121
mkdir -p "Assets/VRLabs/ModularShaderSystem"
2222
ls | grep -v "Assets" | xargs mv -t "Assets/VRLabs/ModularShaderSystem"
23-
echo "Assets/VRLabs.meta" > mssFullPackage
24-
echo "Assets/VRLabs/ModularShaderSystem.meta" >> mssFullPackage
2523
echo -e "fileFormatVersion: 2\nguid: 652a1ba5b00554143bc9a76307dbc4e8\nfolderAsset: yes\nDefaultImporter:\n externalObjects: {}\n userData: \n assetBundleName: \n assetBundleVariant: " > "Assets/VRLabs.meta"
2624
echo -e "fileFormatVersion: 2\nguid: 433bedcd0ded4bcf993b0088e99f493c\nfolderAsset: yes\nDefaultImporter:\n externalObjects: {}\n userData: \n assetBundleName: \n assetBundleVariant: " > "Assets/VRLabs/ModularShaderSystem.meta"
2725
mkdir -p "Main"
26+
mkdir -p "Examples"
2827
cp -r "Assets" "Main"
2928
cp -r "Assets" "Examples"
30-
rm -r "Examples/Assets/VRLabs/ModularShaderSystem/Examples"
31-
find "Examples/Assets/VRLabs/ModularShaderSystem" -mindepth 1 ! -regex '^Examples/Assets/VRLabs/ModularShaderSystem\(/.*\)?' -delete
29+
rm -r "Main/Assets/VRLabs/ModularShaderSystem/Examples"
30+
rm -r "Main/Assets/VRLabs/ModularShaderSystem/Examples.meta"
31+
find "Examples/Assets/VRLabs/ModularShaderSystem" -mindepth 1 ! -regex '^Examples/Assets/VRLabs/ModularShaderSystem/Examples.*' -delete
3232
- name: Create UnityPackage
3333
env:
3434
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}

0 commit comments

Comments
 (0)