From eb37c7511b7a6d4ee41d0970bef947ea58e046a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Str=C3=B6mberg?= Date: Mon, 4 Nov 2024 18:42:06 +0100 Subject: [PATCH] Update --- .github/workflows/release.yml | 2 +- scripts/publish.clj | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4b14aa5..4a01732 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: Release VSIX on: push: tags: - - 'v*.*.*' + - 'v*' jobs: build: diff --git a/scripts/publish.clj b/scripts/publish.clj index 4c06e12..3fe3190 100755 --- a/scripts/publish.clj +++ b/scripts/publish.clj @@ -37,7 +37,7 @@ new-text (string/replace-first changelog-text (release-pattern "Unreleased") - (format "[Unreleased]\n\n%s" new-header))] + (format "## [Unreleased]\n\n%s" new-header))] new-text)) (defn throw-if-error [{:keys [exit out err] :as result}] @@ -114,7 +114,7 @@ (spit changelog-filename updated-changelog-text) (println "Would write to changelog: " changelog-filename (subs updated-changelog-text 0 200) "...")) (commit-changelog changelog-filename - (str "Add changelog section for v" extension-version " [skip ci]" + (str "Add changelog section for v" extension-version "" (when *command-line-args* (str "\n\n" (first *command-line-args*)))) dry-run?)