https://github.com/fastlane/nightly
Deploy nightly Ruby gem builds to RubyGems.org
https://github.com/fastlane/nightly
Last synced: 5 months ago
JSON representation
Deploy nightly Ruby gem builds to RubyGems.org
- Host: GitHub
- URL: https://github.com/fastlane/nightly
- Owner: fastlane
- License: mit
- Created: 2017-06-27T21:22:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-12-11T19:43:56.000Z (almost 7 years ago)
- Last Synced: 2024-04-14T02:22:56.659Z (over 1 year ago)
- Language: Ruby
- Homepage: https://fastlane.tools
- Size: 8.79 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nightly RubyGem beta builds
The scripts in this repo will run on a server to automatically upload new nightly builds to RubyGems. Checkout [Rakefile](Rakefile) for more information.
The script works with any gem, we use it for [fastlane](https://fastlane.tools).
You have to provide the following environment variables:
- `GEM_NAME` the name of your gem
- `RUBYGEMS_API_KEY` the RubyGems API key you can get from [RubyGems.org](https://rubygems.org/profile/edit)Optional environment variable
- `REPO_NAME` (defaults to `GEM_NAME`)
- `GIT_URL` (defaults to `https://github.com/[repo_name]/[repo_name]`)
- `VERSION_FILE_PATH` (defaults to `File.join(gem_name, "lib", gem_name, "version.rb")`)
- `SLACK_URL` (if you want new releases to be posted to Slack)
- `SLACK_CHANNEL` (only used in combination with `SLACK_URL`, defaults to `"releases"`)Put all of that on any server (e.g. Heroku) and use a schedule to call `rake beta` every night.
Please note that the nightly-build system run by the `fastlane` core team does not automatically deploy code changes made to this repository. When merging changes to the repository, please let a member of the `fastlane` core team know (via Slack or at-mention in the GitHub pull request), so that they can manually deploy your code change.