mirror of
https://github.com/neosubhamoy/pytubepp.git
synced 2025-12-19 20:33:08 +05:30
(ci/cd): added new github release workflow and updated readme
This commit is contained in:
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@@ -1,7 +1,7 @@
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- main
|
- 'v*.*.*-*'
|
||||||
|
|
||||||
name: 🚀 Publish to PyPI
|
name: 🚀 Publish to PyPI
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
43
.github/workflows/release.yml
vendored
Normal file
43
.github/workflows/release.yml
vendored
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- 'v*.*.*-*'
|
||||||
|
|
||||||
|
name: 🚀 Release on GitHub
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
name: 🎉 Release on GitHub
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: 🚚 Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: 🐍 Setup Python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version: '3.12'
|
||||||
|
|
||||||
|
- name: 📦 Install dependencies
|
||||||
|
run: |
|
||||||
|
pip install -r requirements.txt
|
||||||
|
|
||||||
|
- name: 🛠️ Build package
|
||||||
|
run: python3 -m build
|
||||||
|
|
||||||
|
- name: "✏️ Generate release changelog"
|
||||||
|
id: gen-changelog
|
||||||
|
uses: janheinrichmerker/action-github-changelog-generator@v2.3
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: 🚀 Publish release to GitHub
|
||||||
|
uses: softprops/action-gh-release@v2
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
with:
|
||||||
|
name: ${{github.event.repository.name}}-${{github.ref_name}}
|
||||||
|
body: ${{ steps.gen-changelog.outputs.changelog }}
|
||||||
|
files: dist/*
|
||||||
|
draft: false
|
||||||
|
prerelease: false
|
||||||
|
make_latest: true
|
||||||
|
|
||||||
17
README.md
17
README.md
@@ -33,14 +33,15 @@
|
|||||||
* [Node.js](https://nodejs.org/en/download/)
|
* [Node.js](https://nodejs.org/en/download/)
|
||||||
|
|
||||||
### **🧩 Python Dependencies**
|
### **🧩 Python Dependencies**
|
||||||
* [pytubefix](https://pypi.org/project/pytubefix/)
|
* [pytubefix](https://pypi.org/project/pytubefix/),
|
||||||
* [ffmpy](https://pypi.org/project/ffmpy/)
|
[ffmpy](https://pypi.org/project/ffmpy/),
|
||||||
* [mutagen](https://pypi.org/project/mutagen/)
|
[mutagen](https://pypi.org/project/mutagen/),
|
||||||
* [tabulate](https://pypi.org/project/tabulate/)
|
[tabulate](https://pypi.org/project/tabulate/),
|
||||||
* [tqdm](https://pypi.org/project/tqdm/)
|
[tqdm](https://pypi.org/project/tqdm/),
|
||||||
* [appdirs](https://pypi.org/project/appdirs/)
|
[appdirs](https://pypi.org/project/appdirs/),
|
||||||
* [requests](https://pypi.org/project/requests/)
|
[requests](https://pypi.org/project/requests/),
|
||||||
* [setuptools](https://pypi.org/project/setuptools/)
|
[rich](https://pypi.org/project/rich/),
|
||||||
|
[setuptools](https://pypi.org/project/setuptools/)
|
||||||
|
|
||||||
### **🛠️ Installation**
|
### **🛠️ Installation**
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user