Skip to content

Commit 499edb1

Browse files
committed
feat: try again to fix changelog release notes
1 parent db11242 commit 499edb1

7 files changed

+228
-45
lines changed

.github/workflows/release-and-publish(changeset).yml

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
# on:
33
# push:
44
# branches: main
5-
# tags:
6-
# - "v*"
75

86
# permissions:
97
# contents: write

.github/workflows/release-notes.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
name: Release Note
1+
name: Release Notes - Changelogithub
22

33
on:
44
push:
55
tags:
6-
- "*"
6+
- "*v"
7+
- "*@zayne-labs/toolkit@"
78

89
jobs:
910
release-note:
@@ -49,6 +50,7 @@ jobs:
4950
fi
5051
5152
- name: Generate Release Notes
52-
env:
53-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5453
run: pnpx changelogithub
54+
if: steps.check_version.outputs.tag == 'latest'
55+
env:
56+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

bump.config.ts

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { defineConfig } from "bumpp";
2+
// import { globSync } from "tinyglobby";
3+
4+
export default defineConfig({
5+
commit: "chore: update package version",
6+
files: ["./packages/**/package.json"],
7+
tag: "@zayne-labs/toolkit@v",
8+
});

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"build": "pnpm --filter \"./packages/*\" build",
99
"build:dev": "pnpm --filter \"./packages/*\" build:dev",
1010
"build:test": "pnpm --filter \"./packages/*\" build:test",
11+
"bump": "bumpp",
1112
"inspect:eslint-config": "pnpx @eslint/config-inspector@latest",
1213
"lint:attw": "pnpm --filter \"./packages/*\" lint:attw",
1314
"lint:check-types": "pnpm --filter \"./packages/*\" lint:check-types",
@@ -28,6 +29,8 @@
2829
"@eslint-react/eslint-plugin": "^1.22.1",
2930
"@types/node": "^22.10.2",
3031
"@zayne-labs/eslint-config": "^0.4.2",
32+
"@zayne-labs/tsconfig": "catalog:",
33+
"bumpp": "^9.9.2",
3134
"eslint": "^9.17.0",
3235
"eslint-plugin-react-hooks": "^5.1.0",
3336
"eslint-plugin-react-refresh": "^0.4.16",

0 commit comments

Comments
 (0)