Skip to content

Commit

Permalink
chore(ci): add semver release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtwnklr committed Feb 26, 2023
1 parent 46802a2 commit d19cfa4
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: release

on:
push:
branches:
- main

jobs:
release:
permissions:
contents: write
issues: write
pull-requests: write
name: Create semantic release
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
with:
persist-credentials: false

- name: Setup node.js
uses: actions/setup-node@7c29869aec4da703a571b27bcd84d4f15af0b56e

- name: Create tag and GitHub release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
8 changes: 8 additions & 0 deletions .releaserc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
plugins:
- "@semantic-release/commit-analyzer"
- "@semantic-release/release-notes-generator"
- "@semantic-release/github"

branches:
- main
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
[Apprise](https://github.com/caronc/apprise):
> allows you to send a notification to almost all of the most popular notification services available to us today such as: Telegram, Discord, Slack, Amazon SNS, Gotify, etc.
[![semantic-release: angular](https://img.shields.io/badge/semantic--release-angular-e10079?logo=semantic-release)](https://github.com/semantic-release/semantic-release)
[![build](https://github.com/mrtwnklr/apprise-it-for-me/actions/workflows/build.yaml/badge.svg)](https://github.com/mrtwnklr/apprise-it-for-me/actions/workflows/build.yaml)

## Table of content
Expand Down

0 comments on commit d19cfa4

Please sign in to comment.