Skip to content

Commit

Permalink
Merge pull request #12 from sourcefuse/release-pipeline
Browse files Browse the repository at this point in the history
Added Github tag release workflow
  • Loading branch information
mayank0202 authored Apr 20, 2024
2 parents 1176b3e + 591e3f6 commit ec6a503
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 17 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Bump version
on: # yamllint disable-line rule:truthy
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Bump version and push tag
uses: anothrNick/github-tag-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BUMP: patch
REPO_OWNER: sourcefuse
- name: Create Release
id: create_release
uses: actions/create-release@v1.1.4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ steps.tag.outputs.tag }}
release_name: v${{ steps.tag.outputs.tag }}
body: ${{ github.release_notes }}
draft: false
prerelease: false
17 changes: 0 additions & 17 deletions .github/workflows/tag.yml

This file was deleted.

0 comments on commit ec6a503

Please sign in to comment.