-
Notifications
You must be signed in to change notification settings - Fork 539
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
[Pypi] Automatically release nightly version of skypilot #1446
Conversation
Awesome! BTW, @dongreenberg mentioned that in order for a library they built that uses SkyPilot to be published on PyPI, they need to depend on a recent enough version (0.2.1 doesn't have the recent features they need). Sounds like we should seriously discuss nightly releases soon. |
sed -i "s/{{SKYPILOT_COMMIT_SHA}}/${{ github.sha }}/g" sky/__init__.py | ||
sed -i "s/__version__ = '.*'/__version__ = '1.0.0-dev${RELEASE_VERSION}'/g" sky/__init__.py | ||
sed -i "s/name='skypilot',/name='skypilot-nightly',/g" sky/setup_files/setup.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One reason I prefer to let the user use the nightly instead of the master branch is that we can then note the commit hash of the users in the dashboard.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Michaelvll!
This will release the skypilot nightly to the https://pypi.org/project/skypilot-nightly/, so that the user can keep track of the nightly updates from SkyPilot, without cloning the GitHub repo.
TODO:
Tested:
pip install skypilot-nightly