Skip to content

Commit

Permalink
Exclude Unity's *_DoNotShip directory when uploading to Steam
Browse files Browse the repository at this point in the history
Exclude Unity's *_DoNotShip directory when uploading to Steam
  • Loading branch information
davidmfinol authored Dec 24, 2021
2 parents 9f9b736 + f5de206 commit 3b93123
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,12 @@ _(feel free to contribute if you have a more complex use case!)_
The branch within steam that this build will be automatically put live on.

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.

## Other Notes

#### Excluded Files / Folders

Certain file or folder patterns are excluded from the upload to Steam as they're unsafe to ship to players:

- `*.pdb` - symbols files
- `${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
1 change: 1 addition & 0 deletions steam_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ until [ $i -gt 9 ]; do
"recursive" "1"
}
"FileExclusion" "*.pdb"
"FileExclusion" "$currentDepotPath/${currentDepotPath}_BurstDebugInformation_DoNotShip*"
}
EOF

Expand Down

0 comments on commit 3b93123

Please sign in to comment.