Skip to content
play

GitHub Action

Create a new Version Tag and Release

v0.0.16 Latest version

Create a new Version Tag and Release

play

Create a new Version Tag and Release

Increases semver number and creates a new tag and github release based on tag

Installation

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

              

- name: Create a new Version Tag and Release

uses: Poltio/[email protected]

Learn more about this action in Poltio/action-release

Choose a version

Create New Release & Tag

You can use this action to tag a new release after each Pull Request is closed.

Inputs

token

(required) github token to use to create a new tag and release

example yaml file:

name: Create new version
on:
  pull_request:
    types: [closed]

jobs:
  release:
    runs-on: ubuntu-latest
    name: Create a new release

    if: github.event.pull_request.merged

    steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0

      - id: release
        uses: poltio/action-release@v0
        with:
          token: ${{ secrets.GITHUB_TOKEN }}