aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-06-08 19:37:45 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-06-08 20:12:00 +0530
commited64ce59057c03d25dd6cb488ca28a3cf8ea04d1 (patch)
treeac84b68d211bcfcb46c4c8e42fc5eb39d9992f97
parent76a264ac9e7675bf67be844b9a9d0288ac7427a9 (diff)
downloadhypervideo-pre-ed64ce59057c03d25dd6cb488ca28a3cf8ea04d1.tar.lz
hypervideo-pre-ed64ce59057c03d25dd6cb488ca28a3cf8ea04d1.tar.xz
hypervideo-pre-ed64ce59057c03d25dd6cb488ca28a3cf8ea04d1.zip
[build] Release `yt-dlp.tar.gz`
Closes #386
-rw-r--r--.github/workflows/build.yml11
-rw-r--r--Makefile1
2 files changed, 11 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c02f45b14..d4321da0d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -29,7 +29,7 @@ jobs:
- name: Print version
run: echo "${{ steps.bump_version.outputs.ytdlp_version }}"
- name: Run Make
- run: make
+ run: make all tar
- name: Create Release
id: create_release
uses: actions/create-release@v1
@@ -53,6 +53,15 @@ jobs:
asset_path: ./yt-dlp
asset_name: yt-dlp
asset_content_type: application/octet-stream
+ - name: Upload Source tar
+ uses: actions/upload-release-asset@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ upload_url: ${{ steps.create_release.outputs.upload_url }}
+ asset_path: ./yt-dlp.tar.gz
+ asset_name: yt-dlp.tar.gz
+ asset_content_type: application/gzip
- name: Get SHA2-256SUMS for yt-dlp
id: sha256_file
run: echo "::set-output name=sha256_unix::$(sha256sum yt-dlp | awk '{print $1}')"
diff --git a/Makefile b/Makefile
index d387434a2..aad312362 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,7 @@ completion-zsh: completions/zsh/_yt-dlp
lazy-extractors: yt_dlp/extractor/lazy_extractors.py
PREFIX ?= /usr/local
+DESTDIR ?= .
BINDIR ?= $(PREFIX)/bin
MANDIR ?= $(PREFIX)/man
SHAREDIR ?= $(PREFIX)/share