Skip to content
/ shift-code Public

🎮 Automatically redeem Gearbox SHiFT codes

Notifications You must be signed in to change notification settings

trs/shift-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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