5
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2025-11-10 12:16:56 +00:00
Commit graph

49 commits

Author SHA1 Message Date
Martin Gerlach
2d054a5550
chore: remove whitespace 2025-10-09 02:34:54 +02:00
Martin Gerlach
4267eee560
fix: improves result handling in windUpJob.task.js
Promise was checked before resolving, so the first early return never happened (Promises are truthy) and the subsequent `if (lastRelease.version)` check produced an error in some cases(`lastRelease` undefined, "Error: TypeError: Cannot read properties of undefined (reading 'version')"). 

Observed for semantic-release-action 4.2.2 and 5.0.0 with semantic_version > 24.2.6 (not observed with 24.2.6). 

The PR prevents reading properties of "undefined".
2025-10-09 02:31:05 +02:00
densogiaichned
b7db0cbbf5
fix(cleanupNpmrc.task.js): Use @actions/io to remove .npmrc 2025-07-04 14:23:59 +02:00
David van der Spek
266ea7eb8c feat: add ability to unset GITHUB_ACTION env var
Signed-off-by: David van der Spek <david.vanderspek@flyrlabs.com>
2025-03-11 10:31:42 +01:00
cycjimmy
42976755bc fix: fix syntax error for importing 2024-03-19 22:06:01 +08:00
mym0404
f7e54f1047 refactor: rename handle repository url option function 2024-03-19 17:33:17 +09:00
mym0404
8dffec4efa feat: add repository_url input 2024-03-19 17:29:33 +09:00
MJ Studio
d7ab7f2e6d
wip: modifiying 2024-03-19 17:26:21 +09:00
Johan Enell
0c2055456e feat: update node version on runner to 20
BREAKING CHANGE: set the default node version to 20
2023-08-24 15:09:28 +02:00
Geoffrey.C
86a0e59803 fix: fix installation error for npm-audit
fix installation error for npm-audit

fix #159
2023-03-30 16:08:14 +08:00
Ludal
91e3dc6dcc
fix(windUpJob): set last_release outputs before returning 2023-03-28 15:11:48 +02:00
Ludal
6d1b158ad1
disable silent flag on debug (#1) 2023-03-22 14:11:49 +01:00
Geoffrey.C
039e6080a2
Merge pull request #153 from 1nVitr0/main
feat: add `ci` input parameter
2023-03-15 10:49:09 +08:00
Aram Becker
b356b18b5f feat: add ci input parameter 2023-03-14 11:37:27 +01:00
Joel Humberto Gomez Paredes
a1673fc63d refactor: rename parameter tagFormat 2023-03-05 02:29:57 -06:00
Joel Humberto Gomez Paredes
ed38eb0e99 feat: support for option tagFormat 2023-03-03 04:25:24 -06:00
Dan Hunt
385af4fa1c feat: added gitHead and gitTag outputs 2022-11-03 10:35:24 -04:00
BirdDev
b1467cd17e fix: set last_release_version output even if no release has been published 2022-08-22 22:35:41 +02:00
heiko.rothe
4a51b9fada
feat: handle versioned extends inputs correctly
In some cases, you may want to provide a version for the config you want
to extend. This change will now pass the correct format for such a case
down to semantic-release.
2022-08-01 12:30:51 +02:00
Geoffrey.C
32ba2144e2 build: fix cjs path 2022-03-21 11:01:20 +08:00
Thomas GRUSON
71260837fb
feat: add working dir 2021-12-09 17:29:22 +01:00
Geoffrey.C
18efd1eecf build(deps): bump @cycjimmy/awesome-js-funcs from 2.7.0 to 3.1.0
fix #85
2021-11-26 14:41:01 +08:00
heiko.rothe
f8175c6491
feat: add output for last release version
E.g. helpful to use in CI pipelines where versions are not committed to
the repository.
2021-10-14 17:12:50 +02:00
Geoffrey.C
f1ae39a58a fix: fix a type error when nextRelease is undefined 2020-11-16 10:46:38 +08:00
Geoffrey.C
7ca507d26a fix(*): use silent installation to prevent npm WARN
fix #48
2020-11-12 16:51:33 +08:00
cycjimmy
ae40dc6658 feat(outputs): add new_release_channel 2020-07-02 15:28:08 +08:00
cycjimmy
5da0ac558e fix(new_release_patch_version): fix the problem of inaccurate new_release_patch_version 2020-07-02 14:44:00 +08:00
Filip Arenbo
ddb8d2814d fix: fixes rebase mistake for import of renamed func 2020-04-30 09:56:34 +02:00
Filip Arenbo
32db8a49b2 feat: added ability to use the "extends" settings
This is done to be able to use shared configurations

docs: Added docs for the extends feature

fix: syntax error, due to rebase
2020-04-29 20:27:04 +02:00
cycjimmy
706c0ef960 feat(branches): support branches of semantic-release v16+
support branches of semantic-release v16+

#24 #25
2020-03-21 16:47:29 +08:00
Maarten Van Hoof
a56320d643 feat: add release notes to output 2020-03-15 09:47:43 +01:00
cycjimmy
3e27c518af fix(branch): parameter branch does not work in semantic v16
parameter `branch` does not work in semantic v16(#15)

#15
2020-01-19 10:15:24 +08:00
cycjimmy
3a7ccd6a7f fix(install): uninterrupted installation errors 2020-01-13 16:53:47 +08:00
cycjimmy
600e4f0e2b perf(*): use the latest version of semantic-release by default 2020-01-10 17:20:50 +08:00
cycjimmy
47a5ebd133 chore: set accurate install path 2020-01-10 16:36:53 +08:00
cycjimmy
ac4bc8539b chore: add debug info 2020-01-10 16:31:20 +08:00
cycjimmy
55e8862f17 feat(inputs): add semantic_version to specify version range(#3)
semantic_version: Specify specifying version range for semantic-release. If no version range is
specified, semantic-release@^15 will be used by default.
2019-11-01 00:06:27 +08:00
cycjimmy
e5c555a613 fix(inputs): adjust the default for the "branch" configuration 2019-10-28 15:10:20 +08:00
cycjimmy
18455e9e99 refactor(inputs): remove redundant defaults and options 2019-10-26 22:40:30 +08:00
cycjimmy
fd6487c160 refactor(*): split set up task 2019-10-26 21:54:14 +08:00
cycjimmy
feb118b68d refactor(*): split tasks and modules 2019-10-26 19:19:39 +08:00
cycjimmy
6cfcf38c9b fix(.npmrc): modify wrong cwd for exec 2019-10-26 16:26:11 +08:00
cycjimmy
a0ef86eea3 fix(.npmrc): clean up .npmrc file in the repo after releasing
Issue: "Failed to replace env in config: ${NPM_TOKEN}" after release #2
solution:https://github.com/semantic-release/semantic-release/issues/974#issuecomment-546577677
2019-10-26 15:51:03 +08:00
cycjimmy
4cea44f71a style(outputs): uniform outputs to underline format
uniform outputs to underline format

BREAKING CHANGE: uniform outputs to underline format

Before:

outputs:
- new-release-published:
- new-release-version
- new-release-major-version
- new-release-minor-version
- new-release-patch-version

After:

outputs:
- new_release_published:
- new_release_version
- new_release_major_version
- new_release_minor_version
- new_release_patch_version
2019-10-21 13:30:51 +08:00
cycjimmy
12a1a39975 feat(outputs): Add outputs related to new release version
Add outputs related to new release version
- `new-release-version`: Version of the new release
- `new-release-major-version`: Major version of the new release
- `new-release-minor-version`: Minor version of the new release
- `new-release-patch-version`: Patch version of the new release
2019-10-21 09:46:25 +08:00
cycjimmy
65686aabe7 feat(dry_run): add a new input - "dry_run" 2019-10-18 13:49:05 +08:00
cycjimmy
be8f403201 feat: add a new output - "new-release-published" 2019-10-17 20:33:41 +08:00
cycjimmy
d2cecad9a9 fix(src/index.js): remove 'stream-buffers' 2019-10-17 19:38:56 +08:00
cycjimmy
b9ad41da60 feat: come a new action 2019-10-17 19:27:21 +08:00