Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github create release

Github Action to create Github Release.

Usage

Example Pipeline

Create a new folder workflows and create yaml file example myWorkflow.yml in the repository you are trying to use this release action. Copy below yaml code in this file.

name: Bump Version and Tag
on:
  push:
    branches:
      - "master"
      - "sit"
      - "alpha"
      - "sandbox"
jobs:
  build-and-push:
    env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    name: Bump and Tag
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@master
      - name: Bump and Tag
        id: bump_and_tag
        uses: konsentus/action.bump-version-and-tag@master
      - name: Release
        if: github.ref == 'refs/heads/master'
        uses: konsentus/action.create-release@master
        with:
          new_version_tag: ${{ steps.bump_and_tag.outputs.new_version_tag }}

Environment Variables

  • GITHUB_TOKEN: The token required to authenticate on Github.

Arguments

  • new_version_tag: New tag to be released in Github.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages