Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CI and semantic-release #46

Closed
wants to merge 3 commits into from
Closed

Fix CI and semantic-release #46

wants to merge 3 commits into from

Conversation

kmpm
Copy link
Collaborator

@kmpm kmpm commented Feb 8, 2019

This will...

  • test python 3.7
  • bump versions
  • publish to pypi.

Requires

  • GH_TOKENS, PYPI_USERNAME, PYPI_PASSWORD to be set in Travis
  • A previous version tag set in git with the format v1.2.3. The v is important.
    The version.py file now points to 9.5.5 so make sure there is a v9.5.5 tag on
    a suitable commit.

This is tested as far as I can get without publishing to the 'live' pypi server. I did a scripted-not-using-sematic-release-upload-to-pypi to test.pypi.org and then removed the project.

You should be the owner of the project on pypi so I let you do the first publish. If you want to do it manually...

python3 setup.py sdist bdist_wheel
twine upload -u <username> -p <password> dist/*

If you wan't to you could add me as a maintainer on the project in pypi after first publish.

kmpm added 3 commits February 7, 2019 16:04
test: travis use dist: xenial


chore: resync tag and version


docs: add info about deploy


chore: configure ci
Update how to publish to pypi
and some documentation about requirements.
@eyeonus
Copy link
Owner

eyeonus commented Feb 8, 2019

I sent you a collaborator invite. You can push directly to master. You don't need to PR.

@eyeonus eyeonus closed this Feb 8, 2019
@eyeonus eyeonus reopened this Feb 8, 2019
@eyeonus eyeonus closed this Feb 8, 2019
@eyeonus
Copy link
Owner

eyeonus commented Feb 8, 2019

Everything that needs to be set up by me is set up.

Travis is failing to build.

$ semantic-release publish
Current version: 9.5.5
Cmd('git') failed due to: exit code(128)
  cmdline: git rev-list ...v9.5.5 --
  stderr: 'fatal: bad revision '...v9.5.5'
'
The command "semantic-release publish" exited with 1.

https://github.com/eyeonus/Trade-Dangerous/releases/tag/v9.5.5

I'll hold off on publishing until the actual build process succeeds.

@kmpm
Copy link
Collaborator Author

kmpm commented Feb 8, 2019

semantic-release tries to update v9.5.5 to v9.5.5....

  • Did you add the tag before or after push.
    If after then travis might have checked out the code before the tag existed?
  • If it was tagged after then what happens if you do a rebuild on the full last build in travis.
    (should be a button on the top somewhere)

@eyeonus
Copy link
Owner

eyeonus commented Feb 8, 2019

Before. The tag was added automatically when the branch was merged in.

@eyeonus
Copy link
Owner

eyeonus commented Feb 8, 2019

@eyeonus
Copy link
Owner

eyeonus commented Feb 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants