Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lucasmelin/molting-release-action

GitHub Action to update and release new versions of your software
https://github.com/lucasmelin/molting-release-action

action actions github-action github-actions python release

Last synced: 6 days ago
JSON representation

GitHub Action to update and release new versions of your software

Awesome Lists containing this project

README

        

# 🐍🐍 molting Release Action

GitHub Action to automate releases using [`molting`](https://github.com/lucasmelin/molting).

## Examples

### Trigger a new version on every push
```yaml
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
```yaml
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 }}
```