diff --git a/filters.sh b/filters.sh index f91ce4b..f07fd7c 100644 --- a/filters.sh +++ b/filters.sh @@ -14,3 +14,11 @@ git commit -m "Schedule Building : `date`" git reflog expire --all --expire=now git gc --prune=now --aggressive git push -u origin $INPUT_REPO_BRANCH +cd /repros +python3 /repros/$INPUT_ACTION_FILE +git config --local user.name $INPUT_GIT_NAME +git config --local user.email $INPUT_GIT_EMAIL +git add . +git commit -m "Schedule Building : `date`" +git reflog expire --all --expire=now +git gc --prune=now --aggressive diff --git a/version.py b/version.py new file mode 100644 index 0000000..4fec546 --- /dev/null +++ b/version.py @@ -0,0 +1,11 @@ +import re +import datetime +import pytz + +UTC = pytz.utc +date = datetime.datetime.now(UTC) + +def build(incoming): + with open(incoming, 'w') as f: + f.write('\n'.join([str(date)])) + f.close()