mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 12:01:28 +00:00
Automatically generate LATEST_VERSION (Closes #16)
This commit is contained in:
parent
f166bccc8f
commit
b576abb457
1
LATEST_VERSION
Normal file
1
LATEST_VERSION
Normal file
|
@ -0,0 +1 @@
|
||||||
|
2011.09.13
|
6
Makefile
6
Makefile
|
@ -1,7 +1,9 @@
|
||||||
default: update
|
default: update
|
||||||
|
|
||||||
update: update-readme
|
update: update-readme update-latest
|
||||||
|
|
||||||
|
update-latest:
|
||||||
|
./youtube-dl --version > LATEST_VERSION
|
||||||
|
|
||||||
update-readme:
|
update-readme:
|
||||||
@options=$$(COLUMNS=80 ./youtube-dl --help | sed -e '1,/.*General Options.*/ d' -e 's/^\W\{2\}\(\w\)/### \1/') && \
|
@options=$$(COLUMNS=80 ./youtube-dl --help | sed -e '1,/.*General Options.*/ d' -e 's/^\W\{2\}\(\w\)/### \1/') && \
|
||||||
|
@ -15,4 +17,4 @@ update-readme:
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.PHONY: default update update-readme
|
.PHONY: default update update-latest update-readme
|
||||||
|
|
Loading…
Reference in a new issue