@plutocms/pluto 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/release.yml +7 -15
- package/CHANGELOG.md +12 -0
- package/package.json +1 -1
|
@@ -57,26 +57,18 @@ jobs:
|
|
|
57
57
|
- name: Test
|
|
58
58
|
run: bun test || true
|
|
59
59
|
|
|
60
|
-
#
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
# changelogen reads conventional commits, bumps package.json, writes CHANGELOG.md,
|
|
61
|
+
# commits, tags, pushes, and creates the GitHub release — all in one step.
|
|
62
|
+
- name: Bump version, generate changelog & create release
|
|
63
63
|
run: |
|
|
64
64
|
BUMP="${{ inputs.bump }}"
|
|
65
65
|
if [ -n "$BUMP" ]; then
|
|
66
|
-
npx changelogen@latest --$BUMP
|
|
66
|
+
npx changelogen@latest --$BUMP --push --release
|
|
67
67
|
else
|
|
68
|
-
npx changelogen@latest --bump
|
|
68
|
+
npx changelogen@latest --bump --push --release
|
|
69
69
|
fi
|
|
70
|
+
env:
|
|
71
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
70
72
|
|
|
71
73
|
- name: Publish to npm
|
|
72
|
-
id: npm_publish
|
|
73
74
|
run: npm publish --provenance --access public
|
|
74
|
-
|
|
75
|
-
# Only push commit/tag and create GitHub release if publish succeeds
|
|
76
|
-
- name: Push commit and tags, create GitHub release
|
|
77
|
-
if: steps.npm_publish.outcome == 'success'
|
|
78
|
-
run: |
|
|
79
|
-
git push --follow-tags origin HEAD
|
|
80
|
-
npx changelogen@latest --release
|
|
81
|
-
env:
|
|
82
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## v0.0.9
|
|
5
|
+
|
|
6
|
+
[compare changes](https://github.com/plutocms/pluto/compare/v0.0.9...v0.0.9)
|
|
7
|
+
|
|
8
|
+
### 🩹 Fixes
|
|
9
|
+
|
|
10
|
+
- Streamline changelogen step to bump version, generate changelog, and create release in one command ([1c085e4](https://github.com/plutocms/pluto/commit/1c085e4))
|
|
11
|
+
|
|
12
|
+
### ❤️ Contributors
|
|
13
|
+
|
|
14
|
+
- Victor Ribeiro <devjvribeiro@gmail.com>
|
|
15
|
+
|
|
4
16
|
## v0.0.8
|
|
5
17
|
|
|
6
18
|
[compare changes](https://github.com/plutocms/pluto/compare/v0.0.7...v0.0.8)
|