Skip to content

Commit 8fae3e6

Browse files
committed
fix: release please
1 parent 475d5c1 commit 8fae3e6

File tree

2 files changed

+9
-20
lines changed

2 files changed

+9
-20
lines changed

.github/workflows/release-new-version.yml

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,6 @@ jobs:
2525
steps:
2626
- name: Checkout
2727
uses: actions/checkout@v4
28-
with:
29-
fetch-depth: 1
30-
clean: false
31-
32-
- name: Fetch last tag
33-
run: |
34-
git fetch --tags --depth=1
35-
LAST_TAG=$(git describe --tags --abbrev=0 || echo "none")
36-
echo "Last tag: $LAST_TAG"
37-
if [ "$LAST_TAG" != "none" ]; then
38-
git fetch --shallow-since=$(git log -1 --format=%ai $LAST_TAG)
39-
fi
40-
echo "Commits since last tag:"
41-
git log $LAST_TAG..HEAD --oneline
4228

4329
- name: Setup Bun
4430
uses: oven-sh/setup-bun@v2
@@ -51,11 +37,15 @@ jobs:
5137

5238
- name: Run release command
5339
# if: github.repository == 'saadeghi/daisyui'
54-
run: |
55-
git config --local user.email "pouya.saadeghi@gmail.com"
56-
git config --local user.name "Pouya Saadeghi"
57-
cd packages/daisyui
58-
bunx commit-and-tag-version --infile ../../CHANGELOG.md ${{ inputs.release-type }}
40+
id: release
41+
uses: google-github-actions/release-please-action@v3
42+
with:
43+
release-type: node
44+
package-name: d4ui-test
45+
path: packages/daisyui
46+
monorepo-tags: true
47+
release-as: ${{ inputs.release-type }}
48+
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":false}]'
5949

6050
- name: Read package version from package.json
6151
id: package-version

packages/daisyui/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717

1818

19-
2019
</div>
2120

2221
# daisyUI 5

0 commit comments

Comments
 (0)