Skip to content

Commit

Permalink
Merge pull request #1 from skip-pay/ForkAndPublish
Browse files Browse the repository at this point in the history
Fork and publish.
  • Loading branch information
Formulka committed Jun 29, 2023
2 parents 728657d + 5a6f01c commit fe1b57e
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 30 deletions.
27 changes: 0 additions & 27 deletions .github/workflows/main.yml

This file was deleted.

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.11
uses: actions/setup-python@v3
with:
python-version: "3.11"
- 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
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
from setuptools import find_packages, setup

setup(
name='developers-chamber',
version='0.0.70',
name='skip-developers-chamber',
version='0.0.70.1',
description='A small plugin which help with development, deployment, git',
keywords='django, skripts, easy live, git, bitbucket, Jira',
author='Druids team',
author_email='matllubos@gmail.com',
url='https://github.com/druids/django-project-info',
url='https://github.com/skip-pay/developers-chamber',
license='MIT',
package_dir={'developers_chamber': 'developers_chamber'},
include_package_data=True,
Expand Down

0 comments on commit fe1b57e

Please sign in to comment.