Skip to content

Commit

Permalink
Merge pull request #36 from CiCiUi/actions-improvements
Browse files Browse the repository at this point in the history
actions is fixed
  • Loading branch information
Natgho committed Nov 29, 2023
2 parents 6458dfb + ab5281e commit b81e6f1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Publish to PyPI

on: push
on:
push:
branches:
- master

jobs:
build-n-publish:
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Publish to TestPyPI

on: push
on:
push:
branches:
- master

jobs:
build-n-publish:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def local_scheme(version):
setup(
name='django-db-logger',
version='0.1.13',
use_scm_version={"local_scheme": local_scheme} if os.getenv('TestPypi') == 'yes' else False, # using `setuptools_scm` when publish to test.pypi
# use_scm_version={"local_scheme": local_scheme} if os.getenv('TestPypi') == 'yes' else False, # using `setuptools_scm` when publish to test.pypi
setup_requires=['setuptools_scm'],
packages=['django_db_logger', 'django_db_logger.migrations'],
include_package_data=True,
Expand Down

0 comments on commit b81e6f1

Please sign in to comment.