@cycjimmy/semantic-release-action 2.7.0 → 3.0.0

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/README.md CHANGED
@@ -18,16 +18,16 @@ GitHub Action for [Semantic Release][semantic-url].
18
18
  ```yaml
19
19
  steps:
20
20
  - name: Checkout
21
- uses: actions/checkout@v2
21
+ uses: actions/checkout@v3
22
22
  - name: Semantic Release
23
- uses: cycjimmy/semantic-release-action@v2
23
+ uses: cycjimmy/semantic-release-action@v3
24
24
  env:
25
25
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26
26
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
27
27
  ```
28
28
 
29
29
  **IMPORTANT**: `GITHUB_TOKEN` does not have the required permissions to operate on protected branches.
30
- If you are using this action for protected branches, replace `GITHUB_TOKEN` with [Personal Access Token](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line). If using the `@semantic-release/git` plugin for protected branches, avoid persisting credentials as part of `actions/checkout@v2` by setting the parameter `persist-credentials: false`. This credential does not have the required permission to operate on protected branches.
30
+ If you are using this action for protected branches, replace `GITHUB_TOKEN` with [Personal Access Token](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line). If using the `@semantic-release/git` plugin for protected branches, avoid persisting credentials as part of `actions/checkout@v3` by setting the parameter `persist-credentials: false`. This credential does not have the required permission to operate on protected branches.
31
31
 
32
32
  #### Private Packages
33
33
 
@@ -59,9 +59,9 @@ then make sure that you configure this in your `package.json` file:
59
59
  ```yaml
60
60
  steps:
61
61
  - name: Checkout
62
- uses: actions/checkout@v2
62
+ uses: actions/checkout@v3
63
63
  - name: Semantic Release
64
- uses: cycjimmy/semantic-release-action@v2
64
+ uses: cycjimmy/semantic-release-action@v3
65
65
  with:
66
66
  semantic_version: 15.13.28 # It is recommended to specify specifying version range
67
67
  # for semantic-release.
@@ -78,9 +78,9 @@ steps:
78
78
  ```yaml
79
79
  steps:
80
80
  - name: Checkout
81
- uses: actions/checkout@v2
81
+ uses: actions/checkout@v3
82
82
  - name: Semantic Release
83
- uses: cycjimmy/semantic-release-action@v2
83
+ uses: cycjimmy/semantic-release-action@v3
84
84
  with:
85
85
  semantic_version: 16
86
86
  # you can set branches for semantic-release above v16.
@@ -124,9 +124,9 @@ See [configuration#branches](https://semantic-release.gitbook.io/semantic-releas
124
124
  ```yaml
125
125
  steps:
126
126
  - name: Checkout
127
- uses: actions/checkout@v2
127
+ uses: actions/checkout@v3
128
128
  - name: Semantic Release
129
- uses: cycjimmy/semantic-release-action@v2
129
+ uses: cycjimmy/semantic-release-action@v3
130
130
  with:
131
131
  semantic_version: 15.13.28
132
132
  # you can set branch for semantic-release older than v16.
@@ -149,9 +149,9 @@ Github Action Workflow:
149
149
  ```yaml
150
150
  steps:
151
151
  - name: Checkout
152
- uses: actions/checkout@v2
152
+ uses: actions/checkout@v3
153
153
  - name: Semantic Release
154
- uses: cycjimmy/semantic-release-action@v2
154
+ uses: cycjimmy/semantic-release-action@v3
155
155
  with:
156
156
  # You can specify specifying version range for the extra plugins if you prefer.
157
157
  extra_plugins: |
@@ -179,9 +179,9 @@ Release Config:
179
179
  ```yaml
180
180
  steps:
181
181
  - name: Checkout
182
- uses: actions/checkout@v2
182
+ uses: actions/checkout@v3
183
183
  - name: Semantic Release
184
- uses: cycjimmy/semantic-release-action@v2
184
+ uses: cycjimmy/semantic-release-action@v3
185
185
  with:
186
186
  dry_run: true
187
187
  env:
@@ -195,9 +195,9 @@ The action can be used with `extends` option to extend an existing [sharable con
195
195
  ```yaml
196
196
  steps:
197
197
  - name: Checkout
198
- uses: actions/checkout@v2
198
+ uses: actions/checkout@v3
199
199
  - name: Semantic Release
200
- uses: cycjimmy/semantic-release-action@v2
200
+ uses: cycjimmy/semantic-release-action@v3
201
201
  with:
202
202
  # You can extend an existing shareable configuration.
203
203
  extends: |
@@ -213,9 +213,9 @@ This action run semantic release in the github provided workspace by default. Yo
213
213
  ```yaml
214
214
  steps:
215
215
  - name: Checkout
216
- uses: actions/checkout@v2
216
+ uses: actions/checkout@v3
217
217
  - name: Semantic Release
218
- uses: cycjimmy/semantic-release-action@v2
218
+ uses: cycjimmy/semantic-release-action@v3
219
219
  with:
220
220
  # You can select another working directory like a subdirectory for example.
221
221
  working_directory: ./code
@@ -240,9 +240,9 @@ steps:
240
240
  ```yaml
241
241
  steps:
242
242
  - name: Checkout
243
- uses: actions/checkout@v2
243
+ uses: actions/checkout@v3
244
244
  - name: Semantic Release
245
- uses: cycjimmy/semantic-release-action@v2
245
+ uses: cycjimmy/semantic-release-action@v3
246
246
  id: semantic # Need an `id` for output variables
247
247
  env:
248
248
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
package/action.yml CHANGED
@@ -44,5 +44,5 @@ outputs:
44
44
  last_release_version:
45
45
  description: 'Version of the previous release, if there was one.'
46
46
  runs:
47
- using: 'node12'
47
+ using: 'node16'
48
48
  main: 'index.js'
package/docs/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ # [3.0.0](https://github.com/cycjimmy/semantic-release-action/compare/v2.7.0...v3.0.0) (2022-03-03)
2
+
3
+
4
+ ### Features
5
+
6
+ * switch operating environment to node16 ([b5f16ae](https://github.com/cycjimmy/semantic-release-action/commit/b5f16ae54b21667e3af8a1bd015ec069c8237674)), closes [#92](https://github.com/cycjimmy/semantic-release-action/issues/92) [#96](https://github.com/cycjimmy/semantic-release-action/issues/96)
7
+
8
+
9
+ ### BREAKING CHANGES
10
+
11
+ * switch operating environment to node16
12
+
1
13
  # [2.7.0](https://github.com/cycjimmy/semantic-release-action/compare/v2.6.0...v2.7.0) (2021-12-12)
2
14
 
3
15
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cycjimmy/semantic-release-action",
3
- "version": "2.7.0",
3
+ "version": "3.0.0",
4
4
  "description": "GitHub Action for Semantic Release",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,6 +22,9 @@
22
22
  "homepage": "https://github.com/cycjimmy/semantic-release-action#readme",
23
23
  "dependencies": {
24
24
  "@actions/core": "^1.6.0",
25
- "@cycjimmy/awesome-js-funcs": "^3.1.0"
25
+ "@cycjimmy/awesome-js-funcs": "^3.1.0",
26
+ "@semantic-release/changelog": "^6.0.1",
27
+ "@semantic-release/git": "^10.0.1",
28
+ "semantic-release": "^19.0.2"
26
29
  }
27
30
  }