version build
This commit is contained in:
parent
fdddb86d11
commit
467e931a53
@ -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
|
||||
|
11
version.py
Normal file
11
version.py
Normal file
@ -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()
|
Loading…
Reference in New Issue
Block a user