The release tarball's files are now owned by root, not the user who built it
This commit is contained in:
1 parent
71eca2f194
commit
f467c6c7da
1 file changed
+2
@@ -70,7 +70,9 @@ if [[ $DO_RELEASE -eq 1 ]]; then
|
||||
install -DT -m 644 deploy/job-search.service $RELEASE_DIR/job-search.service
|
||||
install -DT -m 644 deploy/job-search.logrotate $RELEASE_DIR/job-search.logrotate
|
||||
ARCH=`dpkg --print-architecture`
|
||||
# Owned by root (0:0), not the user who built it, with no names
|
||||
tar -czf $RELEASE_DIR/job-search-$VERSION-$ARCH.tar.gz \
|
||||
--owner=0 --group=0 --numeric-owner \
|
||||
--transform "s,^$RELEASE_DIR/,job-search-$VERSION-$ARCH/," \
|
||||
$RELEASE_DIR/job-search $RELEASE_DIR/job-search.service \
|
||||
$RELEASE_DIR/job-search.logrotate
|
||||
|
||||
Reference in new issue
Block a user