Socket
Socket
Sign inDemoInstall

@shelf/gh-sdk

Package Overview
Dependencies
54
Maintainers
9
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.0 to 0.2.1

2

lib/repos/create-release-branch.js

@@ -17,3 +17,3 @@ "use strict";

const gh = (0, _restClient.getClient)();
const branchName = `release/v${version}`;
const branchName = `refs/heads/release/v${version}`;
const {

@@ -20,0 +20,0 @@ data

{
"name": "@shelf/gh-sdk",
"version": "0.2.0",
"version": "0.2.1",
"description": "Convenient wrapper for GitHub API for automation tasks",

@@ -60,7 +60,7 @@ "license": "MIT",

"@types/node": "12.12.31",
"babel-jest": "25.2.3",
"babel-jest": "25.2.4",
"eslint": "6.8.0",
"husky": "4.2.3",
"jest": "25.2.3",
"lint-staged": "10.0.9",
"jest": "25.2.4",
"lint-staged": "10.0.10",
"prettier": "2.0.2",

@@ -67,0 +67,0 @@ "typescript": "3.8.3"

@@ -25,3 +25,3 @@ # gh-sdk [![CircleCI](https://circleci.com/gh/shelfio/gh-sdk/tree/master.svg?style=svg)](https://circleci.com/gh/shelfio/gh-sdk/tree/master)![](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)

deleteBranch({owner: 'shelf', repo: 'api', ref: 'dev'});
createReleaseBranch({owner:'shelf', repo: 'api', version: '1.2.3', sha: 'dev'}) // => ref 'release/v1.2.3`
createReleaseBranch({owner:'shelf', repo: 'api', version: '1.2.3', sha: 'dev'}) // => ref 'refs/heads/release/v1.2.3` (refs/heads - for git link)
createReleasePR({owner:'shelf', repo: 'api', version: '1.2.3', releaseTitle: 'Good stuff'}) //=> ref: 'release/v1.2.3`, title: Release v1.2.3: Good stuff

@@ -33,4 +33,11 @@ getLatestBranchCommit({owner: 'shelf', repo: 'api', branch: 'dev'});

## Publish
```sh
$ yarn version
$ yarn publish
```
## License
MIT © [Shelf](https://shelf.io)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc