innatis icon indicating copy to clipboard operation
innatis copied to clipboard

add license (apache2) and shell scripts to automate releasing.

Open samhavens opened this issue 6 years ago • 2 comments

  • [add] VERSION - a file with the version number
  • [add] build_release.sh - a script which bumps the minor version, creates a new sdist, and uploads it to pypi. Can accept a path to a pypirc file as an argument, otherwise expects it to be in ~/.pypirc . This is useful in something like Jenkins, you can pass the file using .
  • [change] setup.py - add License info, dynamic version, and make README the long description

I checked that this works by running it, and it indeed bumped the version on PyPi from 0.5.8 to 0.7.0 (I had manually bumped the version to 0.6.0, and the script bumps minor version by one).

Let me know if you need any changes. BTW I went with Apache2 because that is the Rasa license.

samhavens avatar Oct 01 '19 01:10 samhavens

I have never used Travis, but there is probably a way to set it up to run this automatically when a PR is accepted into master

samhavens avatar Oct 01 '19 01:10 samhavens

@nimf Is there a way to have Travis run the build script when a PR is accepted into master? Should that change (whatever it is) be included here?

samhavens avatar Oct 15 '19 01:10 samhavens