Run release earlier

This commit is contained in:
Zach Borboa
2022-09-29 05:12:57 -07:00
parent ce51152e0f
commit a7ada9308c
3 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ name: release
on:
schedule:
- cron: '0 3 * * *'
- cron: '0 1 * * *'
workflow_dispatch:
jobs:
@@ -18,7 +18,7 @@ jobs:
- name: Install requirements
run: |
python -m pip install --upgrade pip
pip install --requirement scripts/requirements.txt
pip install --requirement scripts/make_release_requirements.txt
- name: Set git details
run: |
+1 -1
View File
@@ -201,7 +201,7 @@ def main():
GITHUB_TOKEN, GITHUB_REPOSITORY)
print('pushing changes to branch "{}" of repository "{}"'.format(
GITHUB_REF_NAME, GITHUB_REPOSITORY))
print(local_repo.git.push(server, GITHUB_REF_NAME))
local_repo.git.push(server, GITHUB_REF_NAME)
# Create tag and release.
tag = result['new_version']