Skip to content

Commit b81e6f1

Browse files
authored
Merge pull request #36 from CiCiUi/actions-improvements
actions is fixed
2 parents 6458dfb + ab5281e commit b81e6f1

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Publish to PyPI
22

3-
on: push
3+
on:
4+
push:
5+
branches:
6+
- master
47

58
jobs:
69
build-n-publish:

.github/workflows/publish-to-test-pypi.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Publish to TestPyPI
22

3-
on: push
3+
on:
4+
push:
5+
branches:
6+
- master
47

58
jobs:
69
build-n-publish:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def local_scheme(version):
1515
setup(
1616
name='django-db-logger',
1717
version='0.1.13',
18-
use_scm_version={"local_scheme": local_scheme} if os.getenv('TestPypi') == 'yes' else False, # using `setuptools_scm` when publish to test.pypi
18+
# use_scm_version={"local_scheme": local_scheme} if os.getenv('TestPypi') == 'yes' else False, # using `setuptools_scm` when publish to test.pypi
1919
setup_requires=['setuptools_scm'],
2020
packages=['django_db_logger', 'django_db_logger.migrations'],
2121
include_package_data=True,

0 commit comments

Comments
 (0)