urlhaus-filter/utils/commit.sh

12 lines
232 B
Bash
Raw Normal View History

2018-10-09 06:18:46 +00:00
#!/bin/sh
2019-05-28 00:23:29 +00:00
set -e -x
## Commit the filter update
## GitLab CI does not permit shell variable in .gitlab-ci.yml.
## This file is a workaround for that.
2018-10-09 06:18:46 +00:00
CURRENT_TIME="$(date -R -u)"
git commit -a -m "Filter updated: $CURRENT_TIME"