@auto-it/gem
TypeScript icon, indicating that this package has built-in type declarations

11.1.6 • Public • Published

Gem Plugin

A plugin that automates publishing ruby gems.

Prerequisites

To publish to your gem you will need you your environment authenticated. You can either create a ~/.gem/credentials yourself or provide RUBYGEMS_API_KEY as an environment variable.

This plugin also looks in your .gemspec and lib/**/version.rb for a version. auto will use this value and keep it up to date.

Installation

This plugin is not included with the auto CLI installed via NPM. To install:

npm i --save-dev @auto-it/gem
# or
yarn add -D @auto-it/gem

WARNING: You can only use one "package manager" at a time! Mixing them will lead to undesired results.

Usage

{
  "plugins": ["gem"]
}

Options

Release Command

When auto publishes your gem it does it by running a command. The default for this is bundle exec rake release.

The following is an example of using gem-release to publish the gem.

Make sure to tag and push in this command!

.autorc:

{
  "plugins": [
    [
      "gem",
      {
        "releaseCommand": "gem release --tag --push"
      }
    ]
  ]
}

Package Sidebar

Install

npm i @auto-it/gem

Weekly Downloads

12

Version

11.1.6

License

MIT

Unpacked Size

25.8 kB

Total Files

11

Last publish

Collaborators

  • alisowski