@shakil-dev/shakil-stack 2.0.0 → 2.0.1

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.
@@ -2,8 +2,8 @@ name: Publish to NPM
2
2
 
3
3
  on:
4
4
  push:
5
- tags:
6
- - 'v*' # Trigger only on tags starting with v (e.g., v2.0.0)
5
+ branches:
6
+ - main
7
7
 
8
8
  permissions:
9
9
  contents: write
@@ -26,7 +26,19 @@ jobs:
26
26
  - name: Install Dependencies
27
27
  run: npm ci
28
28
 
29
+ - name: Set Git Identity
30
+ run: |
31
+ git config --global user.name "github-actions[bot]"
32
+ git config --global user.email "github-actions[bot]@users.noreply.github.com"
33
+ git add . # Ensure any changes like package-lock.json are staged
34
+
35
+ - name: Bump Version
36
+ run: npm version patch
37
+
29
38
  - name: Publish to NPM
30
39
  run: npm publish --access public
31
40
  env:
32
41
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
42
+
43
+ - name: Push Version Change to GitHub
44
+ run: git push origin main --tags
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shakil-dev/shakil-stack",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Full-stack EchoNet-style project generator CLI",
5
5
  "keywords": [
6
6
  "shakil-stack",