Skip to content

Deploy nightly Ruby gem builds to RubyGems.org

License

Notifications You must be signed in to change notification settings

fastlane/nightly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nightly RubyGem beta builds

The scripts in this repo will run on a server to automatically upload new nightly builds to RubyGems. Checkout Rakefile for more information.

The script works with any gem, we use it for fastlane.

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

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.

About

Deploy nightly Ruby gem builds to RubyGems.org

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages