mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2026-02-08 05:57:23 +00:00
Compare commits
31 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
acb3d1c023 | ||
|
|
7922aa4386 | ||
|
|
6e9611f599 | ||
|
|
7aa5b5ea90 | ||
|
|
cabafd6705 | ||
|
|
8dc9474c5c | ||
|
|
c894d87299 | ||
|
|
23f28d6b9a | ||
|
|
8c3e4f586e | ||
|
|
5b8d1ccbaa | ||
|
|
e0b75dd3b9 | ||
|
|
8ebfa72b1f | ||
|
|
7aabe5626b | ||
|
|
132e967011 | ||
|
|
fb28efae68 | ||
|
|
2d010c7798 | ||
|
|
ed948e207e | ||
|
|
14d79a8239 | ||
|
|
b12c8f6015 | ||
|
|
f80bc73384 | ||
|
|
089129701b | ||
|
|
9246c0bd17 | ||
|
|
e878abf189 | ||
|
|
acd6d5df2b | ||
|
|
100d1fb3a3 | ||
|
|
ea00aee834 | ||
|
|
e03fa181e1 | ||
|
|
36bdefbcf6 | ||
|
|
ba330626c4 | ||
|
|
b67d9790a5 | ||
|
|
451bf1fa96 |
8 changed files with 1454 additions and 5896 deletions
2
.github/workflows/checkPullRequest.yml
vendored
2
.github/workflows/checkPullRequest.yml
vendored
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Semantic Release
|
||||
uses: ./
|
||||
|
|
|
|||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Semantic Release
|
||||
uses: ./
|
||||
|
|
@ -46,7 +46,7 @@ jobs:
|
|||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
- name: Setup Node.js with GitHub Package Registry
|
||||
uses: actions/setup-node@v5
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 24
|
||||
registry-url: 'https://npm.pkg.github.com'
|
||||
|
|
|
|||
4
.github/workflows/testRelease.yml
vendored
4
.github/workflows/testRelease.yml
vendored
|
|
@ -16,7 +16,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Semantic Release
|
||||
uses: ./
|
||||
|
|
@ -59,7 +59,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Semantic Release
|
||||
uses: ./
|
||||
|
|
|
|||
26
README.md
26
README.md
|
|
@ -20,7 +20,7 @@ steps:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
- name: Semantic Release
|
||||
uses: cycjimmy/semantic-release-action@v5
|
||||
uses: cycjimmy/semantic-release-action@v6
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
|
@ -65,7 +65,7 @@ steps:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
- name: Semantic Release
|
||||
uses: cycjimmy/semantic-release-action@v5
|
||||
uses: cycjimmy/semantic-release-action@v6
|
||||
with:
|
||||
semantic_version: 19.0.5 # It is recommended to specify a version range
|
||||
# for semantic-release when using
|
||||
|
|
@ -75,7 +75,7 @@ steps:
|
|||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
```
|
||||
|
||||
If no version range is specified with `cycjimmy/semantic-release-action@v5` then [semantic-release](https://github.com/semantic-release/semantic-release/) version [24.2.7](https://github.com/semantic-release/semantic-release/releases/tag/v24.2.7) is used.
|
||||
If no version range is specified with `cycjimmy/semantic-release-action@v6` then [semantic-release](https://github.com/semantic-release/semantic-release/) version [24.2.7](https://github.com/semantic-release/semantic-release/releases/tag/v25.0.2) is used.
|
||||
|
||||
#### branches
|
||||
> {Optional Input Parameter} The branches on which releases should happen.<br>`branches` supports for **semantic-release above v16**.
|
||||
|
|
@ -85,7 +85,7 @@ steps:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
- name: Semantic Release
|
||||
uses: cycjimmy/semantic-release-action@v5
|
||||
uses: cycjimmy/semantic-release-action@v6
|
||||
with:
|
||||
semantic_version: 16
|
||||
# you can set branches for semantic-release above v16.
|
||||
|
|
@ -131,7 +131,7 @@ steps:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
- name: Semantic Release
|
||||
uses: cycjimmy/semantic-release-action@v5
|
||||
uses: cycjimmy/semantic-release-action@v6
|
||||
with:
|
||||
semantic_version: 15.13.28
|
||||
# you can set branch for semantic-release older than v16.
|
||||
|
|
@ -156,7 +156,7 @@ steps:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
- name: Semantic Release
|
||||
uses: cycjimmy/semantic-release-action@v5
|
||||
uses: cycjimmy/semantic-release-action@v6
|
||||
with:
|
||||
# You can specify specifying version range for the extra plugins if you prefer.
|
||||
extra_plugins: |
|
||||
|
|
@ -186,7 +186,7 @@ steps:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
- name: Semantic Release
|
||||
uses: cycjimmy/semantic-release-action@v5
|
||||
uses: cycjimmy/semantic-release-action@v6
|
||||
with:
|
||||
dry_run: true
|
||||
env:
|
||||
|
|
@ -202,7 +202,7 @@ steps:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
- name: Semantic Release
|
||||
uses: cycjimmy/semantic-release-action@v5
|
||||
uses: cycjimmy/semantic-release-action@v6
|
||||
with:
|
||||
ci: false
|
||||
env:
|
||||
|
|
@ -220,7 +220,7 @@ steps:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
- name: Semantic Release
|
||||
uses: cycjimmy/semantic-release-action@v5
|
||||
uses: cycjimmy/semantic-release-action@v6
|
||||
with:
|
||||
# You can extend an existing shareable configuration.
|
||||
# And you can specify version range for the shareable configuration if you prefer.
|
||||
|
|
@ -240,7 +240,7 @@ steps:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
- name: Semantic Release
|
||||
uses: cycjimmy/semantic-release-action@v5
|
||||
uses: cycjimmy/semantic-release-action@v6
|
||||
with:
|
||||
# You can select another working directory like a subdirectory for example.
|
||||
working_directory: ./code
|
||||
|
|
@ -257,7 +257,7 @@ steps:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
- name: Semantic Release
|
||||
uses: cycjimmy/semantic-release-action@v5
|
||||
uses: cycjimmy/semantic-release-action@v6
|
||||
with:
|
||||
tag_format: custom-v${version}
|
||||
env:
|
||||
|
|
@ -279,7 +279,7 @@ steps:
|
|||
git config --global user.email github-actions@github.com
|
||||
git merge --no-ff origin/${{ github.event.pull_request.head.ref }} --message "${{ github.event.pull_request.title }}"
|
||||
- name: Semantic Release
|
||||
uses: cycjimmy/semantic-release-action@v5
|
||||
uses: cycjimmy/semantic-release-action@v6
|
||||
with:
|
||||
unset_gha_env: ${{ github.event_name == 'pull_request' }}
|
||||
ci: ${{ github.event_name == 'pull_request' && false || '' }}
|
||||
|
|
@ -310,7 +310,7 @@ steps:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
- name: Semantic Release
|
||||
uses: cycjimmy/semantic-release-action@v5
|
||||
uses: cycjimmy/semantic-release-action@v6
|
||||
id: semantic # Need an `id` for output variables
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,22 @@
|
|||
# [6.0.0](https://github.com/cycjimmy/semantic-release-action/compare/v5.0.2...v6.0.0) (2025-11-17)
|
||||
|
||||
|
||||
### Features
|
||||
|
||||
* **deps:** update semantic-release to version 25 ([9246c0b](https://github.com/cycjimmy/semantic-release-action/commit/9246c0bd17405b1f20450501f39234912258bc50))
|
||||
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
* **deps:** Update semantic-release to version 25
|
||||
|
||||
## [5.0.2](https://github.com/cycjimmy/semantic-release-action/compare/v5.0.1...v5.0.2) (2025-10-10)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* further fix of result handling in windUpJob.task.js ([451bf1f](https://github.com/cycjimmy/semantic-release-action/commit/451bf1fa96343272b4efadb5731fe2e25073d24f)), closes [#264](https://github.com/cycjimmy/semantic-release-action/issues/264)
|
||||
|
||||
## [5.0.1](https://github.com/cycjimmy/semantic-release-action/compare/v5.0.0...v5.0.1) (2025-10-09)
|
||||
|
||||
|
||||
|
|
|
|||
7285
package-lock.json
generated
7285
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@cycjimmy/semantic-release-action",
|
||||
"version": "5.0.1",
|
||||
"version": "6.0.0",
|
||||
"description": "GitHub Action for Semantic Release",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
@ -21,11 +21,11 @@
|
|||
},
|
||||
"homepage": "https://github.com/cycjimmy/semantic-release-action#readme",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.10.1",
|
||||
"@actions/io": "^1.1.3",
|
||||
"@actions/core": "^2.0.0",
|
||||
"@actions/io": "^2.0.0",
|
||||
"@cycjimmy/awesome-js-funcs": "^4.0.9",
|
||||
"@semantic-release/changelog": "^6.0.3",
|
||||
"@semantic-release/git": "^10.0.1",
|
||||
"semantic-release": "^24.2.9"
|
||||
"semantic-release": "^25.0.2"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ module.exports = async (result) => {
|
|||
core.setOutput(outputs.last_release_git_tag, lastRelease.gitTag);
|
||||
}
|
||||
|
||||
if (!nextRelease) {
|
||||
if (!nextRelease?.version) {
|
||||
core.debug('No release published.');
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue