Skip to content
package

GitHub Action

Create a release using molting

v0.1.0 Latest version

Create a release using molting

package

Create a release using molting

Bump your project files, create a new changelog entry and generate a release

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Create a release using molting

uses: lucasmelin/[email protected]

Learn more about this action in lucasmelin/molting-release-action

Choose a version

🐍🐍 molting Release Action

GitHub Action to automate releases using molting.

Examples

Trigger a new version on every push

name: molting release
on: [push]

jobs:
  molting_job:
    runs-on: ubuntu-latest
    name: Update the project version
    steps:
      - uses: actions/checkout@v2
      - uses: lucasmelin/molting-release-action@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Manually trigger a release

name: molting release
on:
  workflow_dispatch:
    inputs:
      version:
        type: choice
        description: Choose the type of release
        options:
          - patch
          - minor
          - major

jobs:
  molting_job:
    runs-on: ubuntu-latest
    name: Update the project version
    steps:
      - uses: actions/checkout@v2
      - uses: lucasmelin/molting-release-action@v1
        with:
          version: ${{ github.event.inputs.version }}
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}