Skip to content

Commit

Permalink
Merge pull request #10 from dave30406/auto-publish-package
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwang44 authored Feb 25, 2022
2 parents 14c7644 + 5063f9b commit af0330d
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 52 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/publish-package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: publish-package

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Build and publish to pypi
uses: JRubics/[email protected]
# default to use latest version of python and poetry
with:
pypi_token: ${{ secrets.PYPI_TOKEN }}
ignore_dev_requirements: "yes"
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Tom Chiung-ting Chen
Copyright (c) 2019-2022 Tom Chiung-ting Chen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in

This file was deleted.

3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ classifiers = [
'Programming Language :: Python :: 3 :: Only',
'Topic :: Internet :: WWW/HTTP',
]
packages = [
{ include = "registry" }
]

[tool.poetry.dependencies]
python = "^3.6"
Expand Down
50 changes: 0 additions & 50 deletions setup.py

This file was deleted.

0 comments on commit af0330d

Please sign in to comment.