Chown files to a custom user after building (fix file ownership) (#250)
* Chown files to a custom user after building * Better describe `chownFilesTo` input As suggested by @webbertakken: https://github.com/game-ci/unity-builder/pull/250#discussion_r624575666 Co-authored-by: Webber Takken <webber@takken.io> * Simplify chown step in `build.sh` Co-authored-by: Webber Takken <webber@takken.io> Co-authored-by: Webber Takken <webber@takken.io>
This commit is contained in:
committed by
GitHub
parent
a1f68ab26c
commit
e31af20466
997
dist/index.js
generated
vendored
997
dist/index.js
generated
vendored
File diff suppressed because it is too large
Load Diff
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
6
dist/steps/build.sh
vendored
6
dist/steps/build.sh
vendored
@@ -143,6 +143,12 @@ if [[ "$BUILD_TARGET" == "StandaloneOSX" ]]; then
|
||||
chmod +x $ADD_PERMISSIONS_PATH
|
||||
fi
|
||||
|
||||
|
||||
if [[ -n "$CHOWN_FILES_TO" ]]; then
|
||||
chown -R $CHOWN_FILES_TO $BUILD_PATH_FULL
|
||||
chown -R $CHOWN_FILES_TO $UNITY_PROJECT_PATH
|
||||
fi
|
||||
|
||||
#
|
||||
# Results
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user