Détail du package

grizzly

coderaiser66.1kMIT6.1.0

create release on github

github, release

readme

Grizzly License NPM version

Create release on github with help of node.

Install

npm i grizzly -g

How to use?

Global

Usage: grizzly [options]
Options:
  -h, --help                  display this help and exit
  -v, --version               output version information and exit
  -r, --repo                  name of repository
  -u, --user                  user of repository
  -t, --tag                   tag of repository (shoul exist!)
  -n, --name                  name of release
  -b, --body                  body of release
  -p, --prerelease            set prerelease
  --no-prerelease             unset prerelease (default)
  -tn, --token                github token <https://github.com/settings/tokens/new>
  -tc, --target_commitish     commitish value that determines where the Git tag is created from

$ grizzly -tn "token from url" \
-r grizzly -u coderaiser -t v1.0.0 \
-n "grizzly v1.0.0" -b "some body"

Local

npm i grizzly --save

Data will be read before execution in next order (left is more important):

command line -> ~/.grizzly.json

Example

import grizzly from 'grizzly';

const token = 'token from https://github.com/settings/applications';

grizzly(token, {
    user: 'coderaiser',
    repo: 'grizzly',
    tag: 'v1.0.0',
    name: 'grizzly v1.0.0',
    body: 'changelog',
    prerelease: false, // default
}).catch((error) => {
    console.error(error.message);
});

Related

  • putasset Upload asset to release on github.

License

MIT

changelog

2025.03.09, v6.1.0

fix:

  • 78b883f grizzly: tagname -> tag
  • 1e14b8a grizzly: no args

feature:

  • 0d3dfd2 grizzly: @putout/eslint-flat v2.1.0
  • 0e55633 grizzly: redlint v3.19.1
  • 85bb436 grizzly: eslint v9.22.0
  • fcc05bf grizzly: madrun v10.2.5
  • 199ed86 grizzly: eslint-plugin-putout v25.1.2
  • c72a848 grizzly: putout v38.5.3

2024.03.15, v6.0.0

feature:

  • b1dd58b grizzly: drop support of node < 18
  • 229b10b grizzly: eslint-plugin-putout v22.4.1
  • 69bfd2f grizzly: madrun v10.0.1
  • 457e4ce grizzly: putout v35.7.3
  • 7930994 grizzly: @octokit/rest v20.0.2

2022.01.14, v5.0.1

feature:

  • (package) putout v24.1.0
  • (package) eslint-plugin-putout v13.0.1
  • (grizzly) get rid of simport
  • (package) eslint-plugin-putout v10.10.0
  • (package) putout v20.18.0
  • (package) eslint v8.1.0

2021.08.25, v5.0.0

feature:

  • (grizzly) convert to ESM
  • (package) eslint v8.0.0-beta.0
  • (package) eslint v7.32.0
  • (package) putout v19.0.1
  • (package) eslint-plugin-putout v9.2.1
  • (package) madrun v8.8.6
  • (package) @octokit/rest v18.9.1

2020.03.21, v4.0.3

feature:

  • (package) @octokit/rest v17.1.1
  • (package) readjson v2.0.1

2020.02.18, v4.0.2

fix:

  • (grizzly) avoid @octokit/rest warning about the require

feature:

  • (package) putout v7.13.1
  • (package) madrun v5.4.2
  • (package) eslint-plugin-putout v3.2.1
  • (package) eslint-plugin-node v11.0.0
  • (package) eslint v6.1.0
  • (package) eslint-plugin-node v9.1.0

2019.02.21, v4.0.1

feature:

  • (grizzly) octokit auth depreceted
  • (grizzly) octokit
  • (grizzly) lint

2018.11.29, v4.0.0

feature:

  • (package) @octokit/rest v16.1.0

2018.11.29, v3.0.4

feature:

  • (package) debug v4.1.0
  • (package) eslint v5.9.0
  • (package) redrun v7.0.3
  • (package) redrun v6.0.0

2018.01.30, v3.0.3

feature:

  • (grizzly) rm new

2018.01.30, v3.0.2

feature:

  • (package) github -> @ctokit/rest

2018.01.15, v3.0.1

feature:

  • (package) github v13.1.0

2017.10.30, v3.0.0

feature:

  • (grizzly) rm homedir ponyfill
  • (package) drop support of node < 4
  • (package) github v12.0.1

2017.09.08, v2.1.5

feature:

  • (package) github v11.0.0

2017.08.28, v2.1.4

feature:

  • (package) github v10.0.0
  • (package) debug v3.0.0
  • (package) eslint v4.0.0

2017.02.20, v2.1.3

feature:

  • (package) github v9.0.0

2017.01.13, v2.1.2

feature:

  • (package) github v8.0.0

2016.12.05, v2.1.1

feature:

  • (package) github v7.0.0

2016.11.21, v2.1.0

feature:

  • (grizzly) add eslint
  • (grizzly) add -tc, --target_commitish

2016.11.01, v2.0.4

feature:

  • (package) v6.0.1

2016.10.13, v2.0.3

feature:

  • (package) github v5.2.0: user -> owner

2016.10.09, v2.0.2

feature:

  • (package) github v4.1.0

2016.09.06, v2.0.1

feature:

  • (package) github v3.0.0

2016.06.27, v2.0.0

feature:

  • (package) github v2.0.0
  • (grizzly) rm IFFE
  • (help) bin -> help
  • (grizzly) add prerelease (closes #2)
  • (grizzly) tagname -> tag
  • (grizzly) release -> grizzly
  • (grizzly) owner -> user

2016.06.07, v1.0.18

fix:

  • (grizzly) owner -> user
  • (grizzly) releases -> repos

2016.06.06, v1.0.17

feature:

  • (package) github v1.1.1

2015.12.10, v1.0.16

feature:

  • (package) minimist v1.2.0
  • (package) debug v2.2.0

2015.11.17, v1.0.15

fix:

  • (realese) call callback when error

2015.07.04, v1.0.14

feature:

  • (grizzly) add os-homedir

2015.06.22, v1.0.13

feature:

  • (package) readjson v1.1.0

2015.06.09, v1.0.12

feature:

  • (package) checkup v1.3.0

2015.06.03, v1.0.11

feature:

  • (package) execon v1.2.0

2015.01.15, v1.0.10

feature:

  • (package) execon v1.1.0

2014.11.28, v1.0.9

feature:

  • (grizzly) add debug

2014.11.28, v1.0.8

feature:

  • (package) add readjson

2014.11.28, v1.0.7

feature:

  • (grizzly) rm tryrequire

2014.11.28, v1.0.6

fix:

  • (release) work with args before initializing

2014.11.28, v1.0.5

fix:

  • (release) args

2014.11.28, v1.0.4

feature:

  • (release) add info

2014.11.28, v1.0.3

feature:

  • (release) add log

2014.11.28, v1.0.2

fix:

  • (release) add #node

2014.11.28, v1.0.1

feature:

  • (release) add grizzly