Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
fix for cron job permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
gferraro committed May 31, 2021
1 parent ca1d6cd commit 34a8971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _release/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ find -name '*.ts' -print0 | xargs -0 rm
# cron doesn't like it when cron.d files are writeable by anyone other than the
# owner.
echo "Fixing perms..."
chmod 644 _release/{cacophony-api-prune-objects,cacophony-api-remove-dups}
chmod 644 _release/{cacophony-api-prune-objects,cacophony-api-remove-dups,cacophony-api-report-stopped-devices,cacophony-api-report-errors}

echo "Setting versions..."
perl -pi -e "s/^version:.+/version: \"${version}\"/" _release/nfpm.yaml
Expand Down

0 comments on commit 34a8971

Please sign in to comment.