mirror of
https://github.com/ytdl-org/ytdl-nightly.git
synced 2025-06-05 21:49:13 +02:00
[workflow] Link Rebase-on-upstream to Build
* make Build callable but not scheduled * make Build receive commit SHA from caller * make Rebase pass commit SHA to Build * Don't set GH output from update-version.py * No rebase is still success * Allow scheduled Rebase to invoke Build
This commit is contained in:
@@ -22,6 +22,7 @@ if not rev:
|
||||
VERSION = '.'.join((ver, rev)) if rev else ver
|
||||
|
||||
VERSION_FILE = '''# Autogenerated by devscripts/update-version.py
|
||||
from __future__ import unicode_literals
|
||||
|
||||
__version__ = {!r}
|
||||
'''.format(VERSION)
|
||||
@@ -29,5 +30,4 @@ __version__ = {!r}
|
||||
with open('youtube_dl/version.py', 'wt') as f:
|
||||
f.write(VERSION_FILE)
|
||||
|
||||
print('::set-output name=ytdl_version::' + VERSION)
|
||||
print('\nVersion = %s' % VERSION)
|
||||
print(VERSION)
|
||||
|
Reference in New Issue
Block a user