Skip to content

Commit

Permalink
Merge pull request #17 from argysamo/fix_action
Browse files Browse the repository at this point in the history
Fix action
  • Loading branch information
argysamo authored Oct 11, 2021
2 parents 564d428 + 7445754 commit cc8a1ee
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/upload-to-pip.yml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,12 @@ jobs:
- name: "Installs dependencies"
run: |
python3 -m pip install --upgrade pip
python3 -m pip install setuptools wheel twine
python3 -m pip install setuptools wheel twine python-semantic-release
- name: "Builds and uploads to PyPI"
run: |
semantic-release version --patch
git push --tags
python3 setup.py sdist
python3 -m twine upload dist/*
env:
Expand Down
2 changes: 1 addition & 1 deletion edam/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.25'

6 changes: 5 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
[metadata]
description-file = README.md
description-file = README.md
[semantic_release]
version_variable = setup.py:__version__
version_source = tag
upload_to_pypi = False
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
from setuptools.command.install import install
from setuptools.command.test import test as TestCommand

import edam

__version__ = '1.1.1'
here = os.path.abspath(os.path.dirname(__file__))


Expand Down Expand Up @@ -96,7 +95,7 @@ def run_tests(self):

setup(
name='edam',
version=edam.__version__,
version=__version__,
url='http://github.com/ecologismico/edam',
description='An input template framework',
long_description=long_description,
Expand Down

0 comments on commit cc8a1ee

Please sign in to comment.