Skip to content

Commit c3bcafe

Browse files
authored
chore: specify changelogen output in scripts (#5)
We always want to have the same output for the changelog. It would be cumbersome to always have to specify it.
1 parent 42c7f76 commit c3bcafe

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Generate changelog and bump version
4545
id: version
4646
run: |
47-
changelogen --bump --output CHANGELOG.md
47+
pnpm changelog:generate --bump
4848
4949
NEW_VERSION="v$(node -p "require('./package.json').version")"
5050
echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"lint": "eslint . --ext .vue,.ts,.js",
1313
"lint:fix": "eslint . --ext .vue,.ts,.js --fix",
1414
"format": "prettier --check .",
15-
"format:fix": "prettier --write ."
15+
"format:fix": "prettier --write .",
16+
"changelog:generate": "changelogen --output CHANGELOG.md"
1617
},
1718
"devDependencies": {
1819
"@eslint/js": "^9.37.0",

0 commit comments

Comments
 (0)