Skip to content

Commit 3b93123

Browse files
authored
Exclude Unity's *_DoNotShip directory when uploading to Steam
Exclude Unity's *_DoNotShip directory when uploading to Steam
2 parents 9f9b736 + f5de206 commit 3b93123

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,12 @@ _(feel free to contribute if you have a more complex use case!)_
9898
The branch within steam that this build will be automatically put live on.
9999

100100
Note that the `default` branch [has been observed to not work](https://github.com/game-ci/steam-deploy/issues/19) as a release branch, presumably because it is potentially dangerous.
101+
102+
## Other Notes
103+
104+
#### Excluded Files / Folders
105+
106+
Certain file or folder patterns are excluded from the upload to Steam as they're unsafe to ship to players:
107+
108+
- `*.pdb` - symbols files
109+
- `${depotPath}_BurstDebugInformation_DoNotShip` folders for each uploaded depot (e.g. `StandaloneWindows64_BurstDebugInformation_DoNotShip`) - a folder that Unity includes in builds with debugging or other information that isn't intended to be sent to players

steam_deploy.sh

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ until [ $i -gt 9 ]; do
2727
"recursive" "1"
2828
}
2929
"FileExclusion" "*.pdb"
30+
"FileExclusion" "$currentDepotPath/${currentDepotPath}_BurstDebugInformation_DoNotShip*"
3031
}
3132
EOF
3233

0 commit comments

Comments
 (0)