How to use the gh-release function in gh-release

To help you get started, we’ve selected a few gh-release examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github miscord / miscord / src / bin / build.ts View on Github external
console.log(`Building miscord-${version}-win32.exe...`)
  await build('win-x86', 'win32.exe')

  console.log(`Building miscord-${version}-linux.bin...`)
  await build('linux-x64', 'linux.bin')

  console.log(`Building miscord-${version}-linux32.bin...`)
  await build('linux-x86', 'linux32.bin')

  console.log(`Building miscord-${version}-mac.bin...`)
  await build('mac-x64', 'mac.bin')

  console.log(`Building miscord-${version}`)
  await buildMacApp(version)

    auth: {
      token: process.env.GITHUB_TOKEN!!
    owner: 'miscord',
    repo: 'miscord',
    tag_name: 'v' + version,
    target_commitish: 'master',
    name: version,
    assets: [
    ].map(platform => `build/miscord-${version}-${platform}.zip`)


Create a GitHub Release for a Node package

Latest version published 1 year ago

Package Health Score

54 / 100
Full package analysis

Popular gh-release functions