capacitor-standard-version 1.1.58 → 1.3.6

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.
@@ -5,13 +5,20 @@ on:
5
5
  tags:
6
6
  - '*'
7
7
 
8
+ permissions:
9
+ contents: write
10
+ id-token: write
11
+
8
12
  jobs:
9
13
  deploy:
10
14
  runs-on: ubuntu-latest
11
15
  name: Build code and release
12
16
  steps:
13
17
  - name: Check out
14
- uses: actions/checkout@v4
18
+ uses: actions/checkout@v6
19
+ with:
20
+ fetch-depth: 0
21
+ filter: blob:none
15
22
  - uses: oven-sh/setup-bun@v2
16
23
  - name: Install dependencies
17
24
  id: install_code
@@ -22,6 +29,36 @@ jobs:
22
29
  - name: Build
23
30
  id: build_code
24
31
  run: bun run build
25
- - uses: JS-DevTools/npm-publish@v3
32
+ - name: Generate AI changelog
33
+ id: changelog
34
+ uses: mistricky/ccc@v0.2.5
35
+ with:
36
+ anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
37
+ github_token: ${{ secrets.GITHUB_TOKEN }}
38
+ model: claude-sonnet-4-5-20250929
39
+ - uses: js-devtools/npm-publish@v4
40
+ if: ${{ !contains(github.ref, '-alpha.') }}
41
+ with:
42
+ token: ${{ secrets.NPM_TOKEN }}
43
+ provenance: true
44
+ - uses: js-devtools/npm-publish@v4
45
+ if: ${{ contains(github.ref, '-alpha.') }}
26
46
  with:
27
47
  token: ${{ secrets.NPM_TOKEN }}
48
+ tag: next
49
+ provenance: true
50
+ - name: Create GitHub release
51
+ id: create_release
52
+ uses: softprops/action-gh-release@v2
53
+ with:
54
+ body: |
55
+ ## 🆕 Changelog
56
+
57
+ ${{ steps.changelog.outputs.result }}
58
+
59
+ ---
60
+
61
+ 🔗 **Full Changelog**: https://github.com/${{ github.repository }}/compare/${{ steps.changelog.outputs.from_tag }}...${{ steps.changelog.outputs.to_tag }}
62
+ make_latest: true
63
+ token: '${{ secrets.PERSONAL_ACCESS_TOKEN }}'
64
+ prerelease: ${{ contains(github.ref, '-alpha.') }}
@@ -7,29 +7,58 @@ on:
7
7
  - development
8
8
 
9
9
  jobs:
10
+ # Run all tests first before creating any tags
11
+ test:
12
+ if: ${{ !startsWith(github.event.head_commit.message, 'chore(release):') }}
13
+ uses: ./.github/workflows/test.yml
14
+
15
+ # Only bump version and create tag if all tests pass
10
16
  bump-version:
11
- if: '!startsWith(github.event.head_commit.message, ''chore(release):'')'
17
+ needs: [test]
18
+ if: ${{ !startsWith(github.event.head_commit.message, 'chore(release):') }}
12
19
  runs-on: ubuntu-latest
13
- name: Bump version and create changelog with standard version
20
+ name: Bump version and create tag
14
21
  steps:
15
- - name: Check out
16
- uses: actions/checkout@v4
22
+ - name: Checkout
23
+ uses: actions/checkout@v6
17
24
  with:
18
25
  fetch-depth: 0
26
+ filter: blob:none
19
27
  token: '${{ secrets.PERSONAL_ACCESS_TOKEN }}'
28
+ - name: Setup bun
29
+ uses: oven-sh/setup-bun@v2
30
+ with:
31
+ bun-version: latest
32
+ - name: Install dependencies
33
+ id: install_code
34
+ run: bun i
20
35
  - name: Git config
21
36
  run: |
22
37
  git config --local user.name "github-actions[bot]"
23
38
  git config --local user.email "github-actions[bot]@users.noreply.github.com"
24
- - name: Create bump and changelog main
39
+ - name: Create version bump main
25
40
  if: github.ref == 'refs/heads/main'
26
- run: npx standard-version
27
- - name: Create bump and changelog development
41
+ run: npx standard-version --skip.changelog
42
+ - name: Create version bump development
28
43
  if: github.ref != 'refs/heads/main'
29
- run: npx standard-version --prerelease alpha
44
+ run: npx standard-version --prerelease alpha --skip.changelog
30
45
  - name: Push to origin
31
46
  run: |
32
47
  CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
33
48
  remote_repo="https://${GITHUB_ACTOR}:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/${GITHUB_REPOSITORY}.git"
34
49
  git pull $remote_repo $CURRENT_BRANCH
35
50
  git push $remote_repo HEAD:$CURRENT_BRANCH --follow-tags --tags
51
+ create-cache:
52
+ if: ${{ !startsWith(github.event.head_commit.message, 'chore(release):') }}
53
+ runs-on: ubuntu-latest
54
+ name: Create global cache on main branch
55
+ steps:
56
+ - name: Checkoutpsuh
57
+ uses: actions/checkout@v6
58
+ - name: Setup bun
59
+ uses: oven-sh/setup-bun@v2
60
+ with:
61
+ bun-version: latest
62
+ - name: Install dependencies
63
+ id: install_code
64
+ run: bun install --frozen-lockfile
@@ -0,0 +1,20 @@
1
+ name: GitHub Releases to Discord
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+
7
+ jobs:
8
+ github-releases-to-discord:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v6
13
+ - name: GitHub Releases to Discord
14
+ uses: SethCohen/github-releases-to-discord@v1
15
+ with:
16
+ webhook_url: ${{ secrets.WEBHOOK_DISCORD_RELEASE_URL }}
17
+ color: '2105893'
18
+ username: 'Release @${{ github.repository }}'
19
+ avatar_url: 'https://cdn.discordapp.com/avatars/487431320314576937/bd64361e4ba6313d561d54e78c9e7171.png'
20
+ reduce_headings: true
@@ -0,0 +1,24 @@
1
+ name: Test
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
+ workflow_call: # Allow this workflow to be called by other workflows
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ name: Lint and Test
13
+ steps:
14
+ - name: Check out
15
+ uses: actions/checkout@v4
16
+ - uses: oven-sh/setup-bun@v2
17
+ - name: Install dependencies
18
+ run: bun i
19
+ - name: Lint
20
+ run: bun run lint
21
+ - name: Test
22
+ run: bun test
23
+ - name: Build
24
+ run: bun run build
package/CHANGELOG.md CHANGED
@@ -1,207 +1,5 @@
1
1
  # Changelog
2
2
 
3
- All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
3
+ All notable changes to this project are documented in the GitHub Releases page.
4
4
 
5
- ### [1.1.58](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.57...v1.1.58) (2025-12-08)
6
-
7
- ### [1.1.57](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.56...v1.1.57) (2025-12-02)
8
-
9
- ### [1.1.56](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.55...v1.1.56) (2025-11-24)
10
-
11
- ### [1.1.55](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.54...v1.1.55) (2025-11-19)
12
-
13
- ### [1.1.54](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.53...v1.1.54) (2025-11-11)
14
-
15
- ### [1.1.53](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.52...v1.1.53) (2025-11-04)
16
-
17
- ### [1.1.52](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.51...v1.1.52) (2025-10-29)
18
-
19
- ### [1.1.51](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.50...v1.1.51) (2025-10-22)
20
-
21
- ### [1.1.50](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.49...v1.1.50) (2025-10-13)
22
-
23
- ### [1.1.49](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.48...v1.1.49) (2025-10-13)
24
-
25
- ### [1.1.48](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.47...v1.1.48) (2025-10-06)
26
-
27
- ### [1.1.47](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.46...v1.1.47) (2025-10-06)
28
-
29
- ### [1.1.46](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.45...v1.1.46) (2025-09-22)
30
-
31
- ### [1.1.45](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.44...v1.1.45) (2025-09-22)
32
-
33
- ### [1.1.44](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.43...v1.1.44) (2025-09-16)
34
-
35
-
36
- ### Bug Fixes
37
-
38
- * **deps:** update dependency commit-and-tag-version to v12.6.0 ([#72](https://github.com/Cap-go/capacitor-standard-version/issues/72)) ([c6dd9e2](https://github.com/Cap-go/capacitor-standard-version/commit/c6dd9e293bccf46be012526ed1675c77b51fa2c2))
39
-
40
- ### [1.1.43](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.42...v1.1.43) (2025-09-15)
41
-
42
- ### [1.1.42](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.41...v1.1.42) (2025-09-08)
43
-
44
- ### [1.1.41](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.40...v1.1.41) (2025-09-08)
45
-
46
- ### [1.1.40](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.39...v1.1.40) (2025-08-25)
47
-
48
- ### [1.1.39](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.38...v1.1.39) (2025-08-25)
49
-
50
- ### [1.1.38](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.37...v1.1.38) (2025-08-18)
51
-
52
- ### [1.1.37](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.36...v1.1.37) (2025-08-18)
53
-
54
- ### [1.1.36](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.35...v1.1.36) (2025-08-11)
55
-
56
- ### [1.1.35](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.34...v1.1.35) (2025-08-08)
57
-
58
- ### [1.1.34](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.33...v1.1.34) (2025-08-08)
59
-
60
- ### [1.1.33](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.32...v1.1.33) (2025-07-19)
61
-
62
- ### [1.1.32](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.31...v1.1.32) (2025-07-14)
63
-
64
- ### [1.1.31](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.30...v1.1.31) (2025-06-23)
65
-
66
- ### [1.1.30](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.29...v1.1.30) (2025-06-02)
67
-
68
- ### [1.1.29](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.28...v1.1.29) (2025-05-26)
69
-
70
- ### [1.1.28](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.27...v1.1.28) (2025-05-19)
71
-
72
- ### [1.1.27](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.26...v1.1.27) (2023-08-07)
73
-
74
- ### [1.1.26](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.25...v1.1.26) (2023-08-07)
75
-
76
- ### [1.1.25](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.24...v1.1.25) (2023-07-24)
77
-
78
- ### [1.1.24](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.23...v1.1.24) (2023-07-03)
79
-
80
- ### [1.1.23](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.22...v1.1.23) (2023-06-19)
81
-
82
- ### [1.1.22](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.21...v1.1.22) (2023-06-05)
83
-
84
- ### [1.1.21](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.20...v1.1.21) (2023-05-29)
85
-
86
- ### [1.1.20](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.19...v1.1.20) (2023-05-15)
87
-
88
- ### [1.1.19](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.18...v1.1.19) (2023-05-08)
89
-
90
- ### [1.1.18](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.17...v1.1.18) (2023-04-24)
91
-
92
- ### [1.1.17](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.16...v1.1.17) (2023-04-10)
93
-
94
- ### [1.1.16](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.15...v1.1.16) (2023-03-27)
95
-
96
- ### [1.1.15](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.14...v1.1.15) (2023-03-13)
97
-
98
- ### [1.1.14](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.13...v1.1.14) (2023-02-27)
99
-
100
- ### [1.1.13](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.12...v1.1.13) (2023-02-13)
101
-
102
- ### [1.1.12](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.11...v1.1.12) (2023-01-30)
103
-
104
- ### [1.1.11](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.10...v1.1.11) (2023-01-17)
105
-
106
-
107
- ### Bug Fixes
108
-
109
- * issue missing newline ([9461b35](https://github.com/Cap-go/capacitor-standard-version/commit/9461b35d5c4ce509e019027f1e2aa8f0e2720fae))
110
-
111
- ### [1.1.10](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.9...v1.1.10) (2023-01-17)
112
-
113
-
114
- ### Bug Fixes
115
-
116
- * script ([2876b75](https://github.com/Cap-go/capacitor-standard-version/commit/2876b7572f94fc6de226603cd63f2a47da3cd6e7))
117
-
118
- ### [1.1.9](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.8...v1.1.9) (2023-01-15)
119
-
120
-
121
- ### Bug Fixes
122
-
123
- * trigger ci ([1661894](https://github.com/Cap-go/capacitor-standard-version/commit/1661894a11578c8423408d1cf1491aa331dec9d9))
124
-
125
- ### [1.1.8](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.7...v1.1.8) (2023-01-12)
126
-
127
-
128
- ### Bug Fixes
129
-
130
- * iisue build ([fed33cf](https://github.com/Cap-go/capacitor-standard-version/commit/fed33cf808a65a7b7a405186d3cd83f0b8dcb650))
131
- * upgrade script for standar version ([e164b26](https://github.com/Cap-go/capacitor-standard-version/commit/e164b261a822504d4d2c7e6b4917bbe3281e7884))
132
- * use fork ([a7e9621](https://github.com/Cap-go/capacitor-standard-version/commit/a7e9621b9cc54dc3b9dd4f17b05b1e6882abbb96))
133
-
134
- ### [1.1.8](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.7...v1.1.8) (2023-01-12)
135
-
136
-
137
- ### Bug Fixes
138
-
139
- * upgrade script for standar version ([e164b26](https://github.com/Cap-go/capacitor-standard-version/commit/e164b261a822504d4d2c7e6b4917bbe3281e7884))
140
-
141
- ### [1.1.7](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.6...v1.1.7) (2023-01-12)
142
-
143
- ### [1.1.6](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.5...v1.1.6) (2023-01-12)
144
-
145
-
146
- ### Bug Fixes
147
-
148
- * upgrade minors ([2003e3f](https://github.com/Cap-go/capacitor-standard-version/commit/2003e3f0649651dc97e8da059f6ae3a194872cc9))
149
-
150
- ### [1.1.5](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.4...v1.1.5) (2023-01-02)
151
-
152
- ### [1.1.4](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.3...v1.1.4) (2022-12-21)
153
-
154
-
155
- ### Bug Fixes
156
-
157
- * auto update fix ([65ca7b9](https://github.com/Cap-go/capacitor-standard-version/commit/65ca7b94f3ddd050f702168ef3b59b8ea8571d4d))
158
-
159
- ### [1.1.3](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.2...v1.1.3) (2022-11-24)
160
-
161
-
162
- ### Bug Fixes
163
-
164
- * lockfile ([39bee03](https://github.com/Cap-go/capacitor-standard-version/commit/39bee035ad89598d8dd2c71b9e8bd77b7436198c))
165
-
166
- ### [1.1.2](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.1...v1.1.2) (2022-11-24)
167
-
168
-
169
- ### Bug Fixes
170
-
171
- * husly version ([6ffa3db](https://github.com/Cap-go/capacitor-standard-version/commit/6ffa3db65d1f93344aaf221afcc023e56ede98de))
172
-
173
- ### [1.1.1](https://github.com/Cap-go/capacitor-standard-version/compare/v1.1.0...v1.1.1) (2022-11-24)
174
-
175
- ## 1.1.0 (2022-11-24)
176
-
177
-
178
- ### Features
179
-
180
- * add auto CI for version and release ([7e6a687](https://github.com/Cap-go/capacitor-standard-version/commit/7e6a687b0017fb542b980aeeb22a3a1cc16070d0))
181
- * add base config ([0f0cce5](https://github.com/Cap-go/capacitor-standard-version/commit/0f0cce54ff7b8d1d0724117e450f3341b0adae3d))
182
-
183
-
184
- ### Bug Fixes
185
-
186
- * android error in replace ([78d7f0a](https://github.com/Cap-go/capacitor-standard-version/commit/78d7f0a13bf04236c2a156a76befd9139a52ef12))
187
- * build Code for alpha beta rc ([ca12f87](https://github.com/Cap-go/capacitor-standard-version/commit/ca12f871c3a68afd6224485458a51a48f25f5832))
188
- * build number ([b03a62b](https://github.com/Cap-go/capacitor-standard-version/commit/b03a62b5e3b34b2f6440cbbb4ba8c6de20e1595b))
189
- * build number android ([d4bfccc](https://github.com/Cap-go/capacitor-standard-version/commit/d4bfcccc7a152f0e0b88b541312f0cc0149cc130))
190
- * build number for beta ([fca24c8](https://github.com/Cap-go/capacitor-standard-version/commit/fca24c845e40dd749505483fb436263ced39296c))
191
- * config order ([ad8011e](https://github.com/Cap-go/capacitor-standard-version/commit/ad8011ebe931bb74afdc1720dbfdbf0cbc18aea2))
192
- * eslint + ios android build number ([5e4e339](https://github.com/Cap-go/capacitor-standard-version/commit/5e4e339c974ef447dfcf74d22caf3847f8e77877))
193
- * ios ([5dcb248](https://github.com/Cap-go/capacitor-standard-version/commit/5dcb2487538e01c92c94751a1531bc8a73eeee2f))
194
- * issue ios version ([949fc81](https://github.com/Cap-go/capacitor-standard-version/commit/949fc81d9a1e55e8f22fe288e57a60077df9eb01))
195
- * issue ios version number ([f829ccc](https://github.com/Cap-go/capacitor-standard-version/commit/f829cccbfa6552f313d64d56d0d3e097b62d3e16))
196
- * publish ([dcbfc2c](https://github.com/Cap-go/capacitor-standard-version/commit/dcbfc2c9676533f8279dfa7751beeec5a031ffaa))
197
- * publish fix ([f839751](https://github.com/Cap-go/capacitor-standard-version/commit/f839751c80884d056645908994d1968267a19b1f))
198
- * remove log ([1b0a854](https://github.com/Cap-go/capacitor-standard-version/commit/1b0a854c03823c0f9793e4a5864c42356f9051fb))
199
- * remove not nessesary quotes ([84b541d](https://github.com/Cap-go/capacitor-standard-version/commit/84b541d3ba27fb21c802c8ff9f1117499470d4dd))
200
- * remove skip CI ([90efad7](https://github.com/Cap-go/capacitor-standard-version/commit/90efad7424679f3649d9c9320d810403a37789f0))
201
- * republish with readme ([a6d6375](https://github.com/Cap-go/capacitor-standard-version/commit/a6d6375c19b73fed2799ed089f6488f011318331))
202
- * script without beta ([e6e4f39](https://github.com/Cap-go/capacitor-standard-version/commit/e6e4f39e1431c79034721878e1bfa67cf417d611))
203
- * switch to typescript project ([15185eb](https://github.com/Cap-go/capacitor-standard-version/commit/15185eb4fbb904fb8e37b364425d4a512740af82))
204
- * upgrade version number ([6bc6768](https://github.com/Cap-go/capacitor-standard-version/commit/6bc6768e6fd1b8429bb7f1f455a7d61298367fe6))
205
- * use the complete arg system to be iso standard-version ([6364170](https://github.com/Cap-go/capacitor-standard-version/commit/63641706ad125199047b11dc9da080d28375c76b))
206
- * version code ([9545f8f](https://github.com/Cap-go/capacitor-standard-version/commit/9545f8f0ca56fd8a2f9cedd4453c675c3ac24298))
207
- * version code ([376a4de](https://github.com/Cap-go/capacitor-standard-version/commit/376a4defc5d8b63e6beadace893cbc5c1cb46ba0))
5
+ **[Click here to view all releases →](../../releases)**