Skip to content

Commit b8180f8

Browse files
committed
cicd: release workflow
1 parent c165490 commit b8180f8

2 files changed

Lines changed: 27 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Release
2+
3+
on:
4+
workflow_dispatch: # Manual trigger for release
5+
6+
jobs:
7+
release:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
with:
12+
fetch-depth: 0
13+
token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
14+
- name: Python Semantic Release
15+
uses: relekang/python-semantic-release@master
16+
with:
17+
github_token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
18+
pypi_token: ${{ secrets.PYPI_TOKEN }}

setup.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,16 @@ def get_version():
2323
author="Benedict Becker",
2424
author_email="benedict.becker93@gmail.com",
2525
license="LGPLv3",
26-
url="https://github.com/becelot/python-hde",
26+
url="https://github.com/becelot/python-hostingde",
2727
packages=find_packages(exclude=["docs*", "tests*"]),
28-
install_requires=["requests>=2.25.0", "requests-toolbelt>=0.9.1"],
28+
install_requires=[
29+
"requests>=2.25.1",
30+
"marshmallow==3.10.0",
31+
"marshmallow-dataclass==8.3.1",
32+
"marshmallow-enum==1.5.1",
33+
"urllib3~=1.26.3",
34+
"responses~=0.13.1"
35+
],
2936
python_requires=">=3.6.0",
3037
classifiers=[
3138
"Development Status :: 5 - Production/Stable",

0 commit comments

Comments
 (0)