Skip to content

Commit

Permalink
Merge pull request #97 from simpeg/credentials
Browse files Browse the repository at this point in the history
pypi deploys
  • Loading branch information
lheagy authored Jul 12, 2018
2 parents e94a1e1 + df57fc4 commit 3eb935a
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[bumpversion]
current_version = 0.2.0
current_version = 0.2.1
files = setup.py discretize/__init__.py docs/conf.py

3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ after_success:

# deploy to pypi on tags
- mv credentials/.pypirc ~/.pypirc ;
- python setup.py sdist bdist_wheel --universal upload;
- python setup.py sdist bdist_wheel --universal;
- twine upload dist/* --skip-existing;


notifications:
Expand Down
5 changes: 1 addition & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,10 @@ artifacts:
deploy_script:
# following https://github.com/AndrewAnnex/SpiceyPy/blob/master/appveyor.yml
- echo "Starting Artifact deployment"
- echo [distutils] > %USERPROFILE%\\.pypirc
- echo index-servers = >> %USERPROFILE%\\.pypirc
- echo pypi >> %USERPROFILE%\\.pypirc
- echo [pypi] >> %USERPROFILE%\\.pypirc
- echo repository=https://pypi.python.org/pypi >> %USERPROFILE%\\.pypirc
- echo username=lheagy >> %USERPROFILE%\\.pypirc
- echo password=%pypi_password% >> %USERPROFILE%\\.pypirc
# deploy on dev or master
- ps: If ($env:APPVEYOR_REPO_TAG -eq "true" ) { Invoke-Expression "twine upload -r pypi --skip-existing dist/*" 2>$null } Else { write-output "Not on a tag, won't deploy to pypi"}
- ps: If ($env:APPVEYOR_REPO_TAG -eq "true" ) { Invoke-Expression "twine upload -r pypi --skip-existing dist/*" 2>$null } Else { write-output "Not on a tag, won't deploy to pypi"}
- ps: If ($env:APPVEYOR_REPO_TAG -eq "true" ) { Invoke-Expression "twine upload dist/* --skip-existing" 2>$null } Else { write-output "Not on a tag, won't deploy to pypi"}
Binary file modified credentials.tar.gz.enc
Binary file not shown.
2 changes: 1 addition & 1 deletion discretize/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"""
)

__version__ = '0.2.0'
__version__ = '0.2.1'
__author__ = 'SimPEG Team'
__license__ = 'MIT'
__copyright__ = '2013 - 2017, SimPEG Developers, http://simpeg.xyz'
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@
# built documents.
#
# The short X.Y version.
version = '0.2.0'
version = '0.2.1'
# The full version, including alpha/beta/rc tags.
release = '0.2.0'
release = '0.2.1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def configuration(parent_package='', top_path=None):

setup(
name="discretize",
version="0.2.0",
version="0.2.1",
install_requires=[
'numpy>=1.7',
'scipy>=0.13',
Expand Down

0 comments on commit 3eb935a

Please sign in to comment.