Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Finalizing Travis CI PyPi deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
adammhaile committed Dec 14, 2018
1 parent 47d8a85 commit 40933cb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 15 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -10,6 +10,7 @@ deploy:
skip_cleanup: true
on:
python: 2.7
tags: true
user: OpenShiftART
password:
secure: jOpBYA+t1VK8t6xqiCtyXvzxAQOnXNwjNUGgM15YiQcWsnUTv/PUKWDoMdaVNReUiTQUYd/ZH5ooSWAC7+ITKbSXLpetZxy4btHdUeYC5cPHVUk9x7hKnZjJu31hJEadHm1M+Lwt7Wf2Th4a/gsDYe0lq0Oq1EjHHzoJeTFRQokzp3ACr+jgxZOVwoJWq5tgl6AFsMLv/N1dg0klM9uIwGZTbuuS41/pIeFzVIJ6sDpBdKH+av9hoHujtGx3FQLvhW3j4UIXeRlqzoDhM5m8yHJwjIhkQVa0S4eWwtocRguP29buiZw0vosNJNSFzZzFFUfSJxkqKNZlQoVy8h8StnHUZic69Vjtu+JMVt67E598zCY34Qbmzv6KhD1j7Spl92a6zrV1G7wQePN1phOrs3LLEJnDZouhDhX8hI/p8fy/jpPUcVfnY19y7W6aFE/VCMTotCWje7xc/59OZVWUSc4v80m7jFMa5evwevsxTAT6+PAcO1BewAB1DvdPfo4s5+IxOypNGgyBJ5PCJnE+1UyE3yAOPZtius2CbAtCzYHDkZC40v5Sy/yn9zWvOELdaqsLz3VQlTPSfGgMh1fbtX2mKcc9NH4Lwr1dNPUWA7dmf7S1uJTvu3DJ7qU7wGNcRQtje0qhAM1mvH+zNZs7Wo8fDfcgfq4gtGccSPhVtk8=
22 changes: 8 additions & 14 deletions README.md
Expand Up @@ -9,30 +9,24 @@ For local development pull the code and run:

`python setup.py develop`

For new releases, once `master` is decided to be good:
For new releases, Travis-CI is already setup and deployment to PyPi is easy:

- Bump the version number in `doozerlib/VERSION`
- rebase `master` onto the `released` branch so that they are even.
- `git clone git@github.com:openshift/doozer.git`
- `cd doozer`
- `git fetch`
- `git checkout released`
- `git rebase master`
- `git push origin released`
- Cut a new github release with the same version string as given in `doozerlib/VERSION`
- Use `released` for the `Target` parameter
- On your system run `pip install -U https://github.com/openshift/doozer/archive/released.zip`
- Bump the version in `./doozerlib/VERSION`
- Push the change to `master`
- Create a new GitHub release: https://github.com/openshift/doozer/releases/new

That's it. Travis CI will do the rest automatically.


## Installation

To install the latest released version of doozer, run:

```
pip install https://github.com/openshift/doozer/archive/released.zip
pip install -U rh-doozer
```

If instead, you would like to run with the latest and greatest, but potential unstable, run:
If instead, you would like to run with the latest and greatest from source, but potential unstable, run:

```
pip install https://github.com/openshift/doozer/archive/master.zip
Expand Down
2 changes: 1 addition & 1 deletion doozerlib/VERSION
@@ -1 +1 @@
0.3.5
0.3.6
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -19,6 +19,7 @@ def _get_version():
author_email="aos-team-art@redhat.com",
version=_get_version(),
description="CLI tool for managing and automating Red Hat software releases",
long_description=open('README.md').read(),
url="https://github.com/openshift/doozer",
license="Red Hat Internal",
packages=["doozerlib"],
Expand Down

0 comments on commit 40933cb

Please sign in to comment.