urlhaus-filter/utils/commit.sh

12 lines
232 B
Bash

#!/bin/sh
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.
CURRENT_TIME="$(date -R -u)"
git commit -a -m "Filter updated: $CURRENT_TIME"