/shift-code

:video_game: Automatically redeem Gearbox SHiFT codes

Primary LanguageTypeScript

Gearbox Shift Code Repo

Monorepo for Gearbox Shift code automatic redemption

Usage

You're probably looking for the command line tool, which will automatically redeem shift codes for you.

If you're a developer, some of the other packages might interest you in creating your own redemption tool.

Packages

Package Description
@shift-code/cli Command-line tool for redeeming codes
@shift-code/api API for interacting with shift website
@shift-code/get Library for retrieving shift codes

Deployment

  • Run yarn run tag <package>
    • eg: yarn run tag cli
  • Enter new version for package
  • Version will be changed and a tag will be created
  • Tag and commit are then pushed
  • Workflow triggers on tag, publishing to NPM and creating a Github release