Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 9d1b96e

Browse files
authored
Merge pull request #8 from code-yeongyu/feature/fix-release-action-not-working
Fix release action not working
2 parents 817adcd + 49aa269 commit 9d1b96e

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: poetry install
3232

3333
- name: Authenticate to PyPI
34-
run: poetry http-basic.pypi ${{ secrets.PYPI_USERNAME }} ${{ secrets.PYPI_PASSWORD }}
34+
run: poetry config http-basic.pypi '${{ secrets.PYPI_USERNAME }}' '${{ secrets.PYPI_PASSWORD }}'
3535

3636
- name: Release
3737
run: poetry run invoke release

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# Twitter Video Tools
22
[![PyPI version](https://badge.fury.io/py/twitter-video-tools.svg)](https://badge.fury.io/py/twitter-video-tools)
3+
[![Package Release Status](https://github.com/code-yeongyu/twitter_video_tools/actions/workflows/release.yaml/badge.svg)](https://github.com/code-yeongyu/twitter_video_tools/actions/workflows/release.yaml)
34
[![Test](https://github.com/code-yeongyu/twitter_video_tools/actions/workflows/test.yaml/badge.svg?branch=master)](https://github.com/code-yeongyu/twitter_video_tools/actions/workflows/test.yaml)
45
[![codecov](https://codecov.io/gh/code-yeongyu/twitter_video_tools/branch/master/graph/badge.svg?token=97K8BBWOH7)](https://codecov.io/gh/code-yeongyu/twitter_video_tools)
56

6-
77
- A multi-processing supported video downloader
88
- supports downloading videos from twitter (or specific user from twitter) && monsnode.
99

1010
## Install
1111

12-
### PIP
12+
### with PIP
1313

1414
```sh
1515
pip install twitter-video-tools
1616
```
1717

18-
### Poetry
18+
### with Poetry (Recommended)
1919

2020
```sh
2121
poetry add twitter-video-tools

tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def release(context: Context) -> None:
4444
except UnexpectedExit as exception:
4545
with open(pyproject_path, 'w', encoding='utf-8') as pyproject_file:
4646
pyproject_file.write(pyproject_string)
47-
raise exception
47+
raise exception from exception
4848

4949
# recover to original
5050
with open(pyproject_path, 'w', encoding='utf-8') as pyproject_file:

0 commit comments

Comments
 (0)