Skip to content

Commit e737d39

Browse files
committed
chore(release): update commit message format
Signed-off-by: Lexus Drumgold <unicornware@flexdevelopment.llc>
1 parent 43856ff commit e737d39

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ jobs:
128128
- id: tag
129129
name: Create annotated tag
130130
run: |
131-
git tag --annotate --force --sign $TAG --message "${{ format('release: @{0}@{1}', github.repository, needs.metadata.outputs.version) }}"
131+
git tag --annotate --force --sign $TAG --message "${{ format('release: {0}', needs.metadata.outputs.tag) }}"
132132
git tag --verify $TAG
133133
git push origin --tags
134134
env:

changelog.config.cts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import type { CommitGroup } from 'conventional-changelog-writer'
1010
import type { Commit, CommitRaw } from 'conventional-commits-parser'
1111
import dateformat from 'dateformat'
1212
import fs from 'node:fs'
13-
import pkg from './package.json'
1413

1514
/**
1615
* Git tag prefix.
@@ -35,7 +34,7 @@ const config: Config = {
3534
preset: {
3635
header: '',
3736
name: 'conventionalcommits',
38-
releaseCommitMessageFormat: `release: ${pkg.name}@{{version}}`,
37+
releaseCommitMessageFormat: 'release: {{currentTag}}',
3938
types: [
4039
{ section: ':package: Build', type: 'build' },
4140
{ section: ':house_with_garden: Housekeeping', type: 'chore' },

0 commit comments

Comments
 (0)