Skip to content

Commit

Permalink
chore: add relno config (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppodds authored Sep 4, 2023
2 parents 002a18b + bdf66b4 commit 456c31a
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/release-template.rntmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
## 📝 Changelog

[compare changes]({{ compareUrl }})

<!-- BEGIN breaking SECTION -->

### {{ title }}

<!-- BEGIN commits SECTION -->

- {{ prSubtype }}{{ generateIfNotEmpty(prSubtype, ": ") }}{{ toSentence(message) }} (#{{ prNumber }})
<!-- END commits SECTION -->

<!-- END breaking SECTION -->
<!-- BEGIN feat, fix, docs, chore, refactor, test SECTION -->

### {{ title }}

<!-- BEGIN commits SECTION -->

- {{ prSubtype }}{{ generateIfNotEmpty(prSubtype, ": ") }}{{ generateIf(prBreaking, "⚠️ ") }}{{ toSentence(message) }} (#{{ prNumber }})
<!-- END commits SECTION -->

<!-- END feat, fix, docs, chore, refactor, test SECTION -->
<!-- Generate by Release Note -->
18 changes: 18 additions & 0 deletions relno.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = {
template: '.github/release-template.rntmd',
prTypes: [
{
identifier: 'breaking',
title: '⚠️ Breaking Changes',
filter: (_, commit) =>
commit.message.match(/([^()\n!]+)(?:\(.*\))?!: .+ \(#[1-9][0-9]*\)/) !==
null,
},
{ identifier: 'feat', title: '🚀 Enhancements' },
{ identifier: 'fix', title: '🩹 Fixes' },
{ identifier: 'docs', title: '📖 Documentation' },
{ identifier: 'chore', title: '🏡 Chore' },
{ identifier: 'refactor', title: '💅 Refactors' },
{ identifier: 'test', title: '✅ Tests' },
],
};

1 comment on commit 456c31a

@vercel
Copy link

@vercel vercel bot commented on 456c31a Sep 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

relno – ./

relno-ppodds.vercel.app
relno.vercel.app
relno.ppodds.cc
relno-git-master-ppodds.vercel.app

Please sign in to comment.