Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
feat: Add release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sivchari committed Jul 19, 2022
1 parent 9d4e3d1 commit ba323be
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/gh-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: gh-release

on:
push:
branches:
- main
paths:
- '**/RELEASE'
pull_request:
types: [opened, synchronize]
branches:
- main
paths:
- '**/RELEASE'

jobs:
gh-release:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pipe-cd/actions-gh-release@v2.3.6
with:
release_file: '**/RELEASE'
token: ${{ secrets.GITHUB_TOKEN }}
6 changes: 6 additions & 0 deletions release/RELEASE
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tag: v0.2.0
prerelease: false

releaseNoteGenerator:
useReleaseNoteBlock: true
usePullRequestMetadata: true

0 comments on commit ba323be

Please sign in to comment.