mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-28 11:28:11 +08:00
Feat: Release plan to pypi (#7)
This commit is contained in:
@@ -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
@@ -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"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user