Feat: Release plan to pypi (#7)

This commit is contained in:
Stan Triepels
2022-10-13 18:15:03 +02:00
committed by GitHub
parent d32d3f5a09
commit 3f9c4ca91f
2 changed files with 39 additions and 7 deletions
+29
View File
@@ -0,0 +1,29 @@
name: Release
on:
push:
tags:
- '*'
jobs:
build:
if: github.repository == 'GDay/django-q2'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install -U pip setuptools poetry
python -m pip install poetry
- name: Build and publish package
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
run: poetry --build --username=__token__ --password=${{ secrets.PYPI_TOKEN }} publish
+10 -7
View File
@@ -1,15 +1,18 @@
[tool.poetry]
name = "django-q"
version = "1.3.9"
name = "django-q2"
version = "1.4.0"
packages = [
{ include = "django_q" },
]
description = "A multiprocessing distributed task queue for Django"
authors = ["Ilan Steemers <koed00@gmail.com>"]
maintainers = ["Ilan Steemers <koed00@gmail.com>"]
authors = ["Stan Triepels <django-q2@stantriepels.com>", "Ilan Steemers <koed00@gmail.com>"]
maintainers = ["Stan Triepels <django-q2@stantriepels.com>"]
license = "MIT"
readme = 'README.rst'
repository = "https://github.com/koed00/django-q"
homepage = "https://django-q.readthedocs.org"
documentation = "https://django-q.readthedocs.org"
repository = "https://github.com/GDay/django-q2"
homepage = "https://django-q2.readthedocs.org"
documentation = "https://django-q2.readthedocs.org"
keywords = ["django", "distributed", "multiprocessing", "queue", "scheduler"]