Skip to content

alice-biometrics/release-creator

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

release-creator 📌 version

This action allows you to create a Github release dynamically.

Usage 📈

name: Release Creator

on:
  push:
    branches:
      - master

jobs:
  update:
    runs-on: ubuntu-latest
    name: Create a release
    steps:
      - uses: alice-biometrics/release-creator/@v1.0.5
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          version: 'v2.0.0'
          description: 'This is an awesome version :ok_hand:'

Parameters ⚙️

You can configure additional info with the following parameters:

Param. Required Definition
GITHUB_TOKEN true GitHub token
version true New release version. If your action was generated by a release you can use inherit this will get version automatically
description true New release description. If your action was generated by a release you can use inherit this will get version automatically
repo optional Destination repo. Default value (this) will use current repository
branch optional Destination branch repo. Default value (master)
draft optional Define if is a draft or not. Use "true" or "false"
prerelease optional Define if is a prerelease or not. Use "true" or "false"

example:

name: Release Creator

on:
  push:
    branches:
      - master

jobs:
  update:
    runs-on: ubuntu-latest
    name: Create a release
    steps:
      - uses: alice-biometrics/release-creator/@v1.0.5
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          version: 'v1.0.0'
          description: 'This is an awesome version :ok_hand:'
          repo: 'alice-biometrics/github-releaser'
          branch: 'master'
          draft: 'false'
          prerelease: 'false'

or if you execute the action on release:

Use Cases 👀

Duplicate Release Notes

Image you have a private repo where you develop your SDK. Additionally, you've made publicly available a Repo with some documentation about your SDK module.

Use release-creator if you want to copy releases notes from one repo to another with:

From release-creator-example-lib ➡️ release-creator-example

name: Release Creator

on:
  release:
    types: [published]

jobs:
  update:
    runs-on: ubuntu-latest
    name: Create a release
    steps:
      - uses: alice-biometrics/release-creator/@v1.0.5
        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          version: 'inherit'
          description: 'inherit'
          repo: 'alice-biometrics/release-creator-example'

License 📄

MIT

Contact 📬

support@alicebiometrics.com