Skip to content

Commit

Permalink
chore(ci): added automatic releases
Browse files Browse the repository at this point in the history
  • Loading branch information
philprime committed Feb 22, 2023
1 parent 3b06263 commit 2cebb2d
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish Release

on:
push:
branches:
- 'main'
tags:
- 'v*'

jobs:
pre-release:
name: Create Pre-Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create GitHub Release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ github.token }}
automatic_release_tag: 'latest'
prerelease: true

release:
name: Create Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create GitHub Release
uses: marvinpinto/action-automatic-releases@latest
with:
repo_token: ${{ github.token }}
prerelease: false

0 comments on commit 2cebb2d

Please sign in to comment.