From 43f129b2826a6c712369a30b05937999465381a1 Mon Sep 17 00:00:00 2001 From: Chisel Date: Sun, 27 Aug 2023 09:56:15 +0100 Subject: [PATCH] chore: continue removing changie - maybe get round the problem in https://github.com/changesets/bot/issues/78 by removing fewer files at a time --- .changes/header.tpl.md | 6 --- .changes/unreleased/.gitkeep | 0 .changie.yaml | 71 ------------------------------------ 3 files changed, 77 deletions(-) delete mode 100644 .changes/header.tpl.md delete mode 100644 .changes/unreleased/.gitkeep delete mode 100644 .changie.yaml diff --git a/.changes/header.tpl.md b/.changes/header.tpl.md deleted file mode 100644 index df8faa7b..00000000 --- a/.changes/header.tpl.md +++ /dev/null @@ -1,6 +0,0 @@ -# Changelog -All notable changes to this project will be documented in this file. - -The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), -adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), -and is generated by [Changie](https://github.com/miniscruff/changie). diff --git a/.changes/unreleased/.gitkeep b/.changes/unreleased/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/.changie.yaml b/.changie.yaml deleted file mode 100644 index 2931f980..00000000 --- a/.changie.yaml +++ /dev/null @@ -1,71 +0,0 @@ ---- -changesDir: .changes -unreleasedDir: unreleased -headerPath: header.tpl.md -changelogPath: CHANGELOG.md -versionExt: md -kindFormat: '### {{.Kind}}' -kinds: - - label: Added - auto: minor - - label: Changed - auto: major - - label: Deprecated - auto: minor - - label: Removed - auto: major - - label: Fixed - auto: patch - - label: Security - auto: patch - - label: Dependencies - auto: patch -newlines: - afterChange: 0 - afterChangelogHeader: 0 - afterChangelogVersion: 0 - afterKind: 1 - afterVersion: 1 - beforeChangelogVersion: 1 - beforeFooterFile: 0 - beforeKind: 0 - endOfVersion: 0 -envPrefix: CHANGIE_ - -replacements: - - path: README.md - find: version-v.*-blue - replace: version-v{{.Version}}-blue - -custom: - - key: GithubIssue - label: Github Issue (optional) - type: int - optional: true - -# our changeFormat is a bit more complex than the default one -# we want to add a link to the github issue if it's provided -# and we want to link to any mentioned issues in the body. -# Github doesn't treat '#123' as anything special in markdown files -# so we need to add the link ourselves. -# We'll use CHANGIE_REPO_URL to get the repo url if we have it, and construct a -# link; otherwise we'll just use the issue number. -changeFormat: >- - * {{.Body}} {{- if not (eq .Custom.GithubIssue "")}} - {{- if .Env.REPO_URL }} - [#{{.Custom.GithubIssue}}] - ({{.Env.REPO_URL}}/issues/{{.Custom.GithubIssue}}) - {{- else }} [#{{.Custom.GithubIssue}}] - {{- end}} - {{- end}} - -# similar for linking the release in versionFormat -# we'll use CHANGIE_REPO_URL to get the repo url if we have it, and construct a -# link; otherwise we'll just use the version. -versionFormat: >- - ## {{ if .Env.REPO_URL -}} - [v{{.Version}}]({{.Env.REPO_URL}}/releases/tag/{{.Version}}) - {{- else -}} - v{{.Version}} - {{- end }} - ({{.Time.Format "2006-01-02"}})