From 620621335aea54ae1e92b036474f1a2f1ed0d64a Mon Sep 17 00:00:00 2001 From: Adam Bovill Date: Wed, 17 Jan 2024 05:05:41 +0000 Subject: [PATCH] ci: releaserc extends open-turo/semantic-release-config We can just extend open-turo/semantic-release-config for our configuration. --- .pre-commit-config.yaml | 3 --- .releaserc.json | 14 +------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2e7b01d..db20912 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,9 +4,6 @@ repos: hooks: - id: check-json - id: check-yaml - - id: pretty-format-json - args: - - --autofix - id: end-of-file-fixer - id: trailing-whitespace - repo: https://github.com/pre-commit/mirrors-prettier diff --git a/.releaserc.json b/.releaserc.json index df364cb..db57aea 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -1,15 +1,3 @@ { - "branches": [ - "main", - { - "channel": "next", - "name": "(f|b|c)/*", - "prerelease": "beta-<%= (/^\\w+-\\d+/.exec(name.substr(2)) || [])[0] %>" - } - ], - "plugins": [ - "@semantic-release/commit-analyzer", - "@semantic-release/release-notes-generator", - "@semantic-release/github" - ] + "extends": "@open-turo/semantic-release-config" }