@plutocms/pluto 0.0.7 → 0.0.8

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.
@@ -57,19 +57,26 @@ jobs:
57
57
  - name: Test
58
58
  run: bun test || true
59
59
 
60
+ # Bump version and changelog, but do NOT push or create release yet
61
+ - name: Bump version and generate changelog
62
+ id: changelogen_bump
63
+ run: |
64
+ BUMP="${{ inputs.bump }}"
65
+ if [ -n "$BUMP" ]; then
66
+ npx changelogen@latest --$BUMP
67
+ else
68
+ npx changelogen@latest --bump
69
+ fi
70
+
60
71
  - name: Publish to npm
61
72
  id: npm_publish
62
73
  run: npm publish --provenance --access public
63
74
 
64
- # Only bump version, generate changelog & create release if publish succeeds
65
- - name: Bump version, generate changelog & create release
75
+ # Only push commit/tag and create GitHub release if publish succeeds
76
+ - name: Push commit and tags, create GitHub release
66
77
  if: steps.npm_publish.outcome == 'success'
67
78
  run: |
68
- BUMP="${{ inputs.bump }}"
69
- if [ -n "$BUMP" ]; then
70
- npx changelogen@latest --$BUMP --push --release
71
- else
72
- npx changelogen@latest --bump --push --release
73
- fi
79
+ git push --follow-tags origin HEAD
80
+ npx changelogen@latest --release
74
81
  env:
75
82
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
package/CHANGELOG.md CHANGED
@@ -1,6 +1,19 @@
1
1
  # Changelog
2
2
 
3
3
 
4
+ ## v0.0.8
5
+
6
+ [compare changes](https://github.com/plutocms/pluto/compare/v0.0.7...v0.0.8)
7
+
8
+ ### 🩹 Fixes
9
+
10
+ - Reorder npm publish step in release workflow ([aee9845](https://github.com/plutocms/pluto/commit/aee9845))
11
+ - Update Node.js version to 24 in release workflow ([e25eaa6](https://github.com/plutocms/pluto/commit/e25eaa6))
12
+
13
+ ### ❤️ Contributors
14
+
15
+ - Victor Ribeiro <devjvribeiro@gmail.com>
16
+
4
17
  ## v0.0.7
5
18
 
6
19
  [compare changes](https://github.com/plutocms/pluto/compare/v0.0.6...v0.0.7)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@plutocms/pluto",
3
3
  "type": "module",
4
- "version": "0.0.7",
4
+ "version": "0.0.8",
5
5
  "description": "The layerable CMS",
6
6
  "author": "Victor Ribeiro",
7
7
  "license": "MIT",