Skip to content

Commit a991d53

Browse files
authored
Merge pull request #75 from pwittchen/issue-70
issue #70 added deploy workflow
2 parents 23f0fe2 + c336a54 commit a991d53

File tree

4 files changed

+37
-2
lines changed

4 files changed

+37
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
2+
name: 'Deploy'
3+
4+
on:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-20.04
12+
steps:
13+
- name: checkout
14+
uses: actions/checkout@v3
15+
- name: setup-python
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: '3.6'
19+
cache: 'pip'
20+
- name: install-requirements
21+
run: pip install -r requirements.txt
22+
- name: check-format
23+
run: python ./check_format.py
24+
- name: deploy-package
25+
uses: remorses/pypi@master
26+
with:
27+
setupfile: ./setup.py
28+
username: ${{secrets.PYPI_USERNAME}}
29+
password: ${{secrets.PYPI_PASSWORD}}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
CHANGELOG
22
=========
33

4+
v. 1.8.1
5+
--------
6+
*15 Mar 2023*
7+
8+
- automated deployment to pypi
9+
410
v. 1.8.0
511
--------
612
*11 Mar 2023*

spotifycli/spotifycli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def get_arguments():
110110

111111

112112
def show_version():
113-
print("1.8.0")
113+
print("1.8.1")
114114

115115

116116
def get_song():

spotifycli/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "1.8.0"
1+
__version__ = "1.8.1"

0 commit comments

Comments
 (0)