nodejs-create-release

NodeJS Create Release

View on GitHub

Node.JS Create Release

GitHub Action written in TypeScript

Create a release on GitHub - GitHub Action

This action finds or creates a release, so your workflow can access it.

License Issues

Code maintainability Code issues Code Technical Debt

Main Language Languages Code Size Repository Size

Features

| GitHub | Coveralls | | | —————————————————————- | ————————————————————————– | —————————————————————————- | | Release Build | | Release Version | | Master Build | Master Coverage | Master Version | | Development Build | Test Coverage | Development Version |

Usage

    ...
    - name: nodejs project information
      id: projectinfo
      uses: gregoranders/nodejs-project-info@v0.0.21
    - name: create release
      id: createrelease
      uses: gregoranders/nodejs-create-release@v0.0.21
      env:
        GITHUB_TOKEN: $
      with:
        tag: v$
        name: $ - $ Release
        target: $
    ...

Inputs/Outputs

inputs:
  tag:
    description: 'Tag name'
    required: true
  name:
    description: 'Release name'
    required: false
    default: '${tag} Release'
  body:
    description: 'Release body'
    required: false
    default: '${name}'
  draft:
    description: '`true` for a draft, `false` to publish'
    required: false
    default: true
  prerelease:
    description: '`true` for a prerelease, `false` for a full release'
    required: false
    default: false
  target:
    description: 'Release target (branch name or commit id)'
    required: false
    default: 'master'
outputs:
  id:
    description: 'Release Id'
  url:
    description: 'Release Url'
  upload_url:
    description: 'Release Upload Url'