Skip to content

GA-Releaser is an implementation of the project release-it with Github Actions to the Justia projects.

Notifications You must be signed in to change notification settings

justia/ga-releaser

Repository files navigation

GA-Releaser

Who is GA-Releaser?

GA-Releaser is an implementation of the project release-it with Github Actions to the Justia projects.

How can I configure any repository?

name: Release
on:
  push:
    branches:
      - master
jobs:
  release:
    name: Conventional Release
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v2-beta
      - uses: justia/ga-releaser@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

You can check the file action.yml to know what input values has the github action. So, if you need to use a calver release, your yaml file should be something like:

name: Release
on:
  push:
    branches:
      - master
jobs:
  release:
    name: Conventional Release
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v2-beta
      - uses: justia/ga-releaser@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          versioning-specification: 'calver'

And you can set the format of calver with the input calver-format, the default value is YYYY.MM.MICRO.

About

GA-Releaser is an implementation of the project release-it with Github Actions to the Justia projects.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published