Skip to content

Commit

Permalink
Merge pull request #1 from skip-pay/ForkAndPublishing
Browse files Browse the repository at this point in the history
Forked version and automatic publishing.
  • Loading branch information
Formulka authored Jan 12, 2023
2 parents 7a7395f + 1fe4918 commit e13ed96
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 3 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build and publish package to PyPI

on: push

jobs:
build-n-publish:
name: Build and publish package to PyPI
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@master
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install pypa/build
run: >-
python -m
pip install
build
--user
- name: Build a binary wheel and a source tarball
run: >-
python -m
build
--sdist
--wheel
--outdir dist/
.
- name: Publish package to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
verify_metadata: false
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This package lets you use real Python (PEP435_-style) enums with Django.
Installation
------------

1. ``pip install django-choice-enumfields``
1. ``pip install skip-django-choice-enumfields``


Included Tools
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ def run_tests(self):


setup(
name='django-choice-enumfields',
version='1.1.3',
name='skip-django-choice-enumfields',
version='1.1.3.1',
author='HZDG, Lubos Matl',
author_email='matllubos@gmail.com',
description='Real Python Enums for Django.',
Expand Down

0 comments on commit e13ed96

Please sign in to comment.