Skip to content

Automatic Release Creation

Actions

About

πŸš€ Automatically create release tags based on files updated in a commit for JS/TS projects 🏷️
v0.2.0
Latest
StarΒ (0)

πŸ› οΈ Automatic Release Creation beta

Latest release version

This Action is in the beta right now

Automatically create release tags based on files updated in a commit for JavaScript/TypeScript projects. If you are new into GitHub Actions read this quick start guide first

Usage

Add following entry into your jobs list

<job-name>:
  runs-on: ubuntu-latest
  permissions:
    contents: write
  steps:
    - name: Automatic Release Creation
      uses: lr0pb/generate-release@v0.2.0
      with:
        token: ${{ secrets.GITHUB_TOKEN }}

Action inputs and outputs

Inputs

Inputs are like arguments for functions and must be set by the with keyword in your <step-name> that uses this Action

Name Description Required? Default value
token Your GITHUB_TOKEN to provide access to GitHub REST API ❗ Yes
track-file Path to file used to track updates:
package.json file in whatever directory
βœ… No package.json
notes-source Source type for release notes:
changelog | auto
βœ… No changelog
notes-file Path to changelog file used to provide release descriptions βœ… No CHANGELOG.md
notes-fallback Fallback for release notes when no changelog file founded or when no description in this file for the new version:
fallbackText | auto
βœ… No fallbackText
fallback-text input value
fallback-text Text used for fallbackText release notes fallback βœ… No "No description πŸ’­"
tag-pattern Custom tag pattern for release title βœ… No v{major}.{minor}.{patch}

Ready-to-use workflow file

Full workflow file template for your automatic release creation process:

name: Create release

on:
  push:
    branches: ['main']

jobs:
  release:
    runs-on: ubuntu-latest
    permissions:
      contents: write
    steps:
      - name: Automatic Release Creation
        uses: lr0pb/generate-release@v0.2.0
        with:
          token: ${{ secrets.GITHUB_TOKEN }}

Automatic Release Creation is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

πŸš€ Automatically create release tags based on files updated in a commit for JS/TS projects 🏷️
v0.2.0
Latest

Automatic Release Creation is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.