mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-30 12:14:36 +00:00
Run release earlier
This commit is contained in:
@@ -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: |
|
||||
|
||||
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user