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

12 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
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
Ludal
91e3dc6dcc
fix(windUpJob): set last_release outputs before returning 2023-03-28 15:11:48 +02: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
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
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
Maarten Van Hoof
a56320d643 feat: add release notes to output 2020-03-15 09:47:43 +01:00
cycjimmy
feb118b68d refactor(*): split tasks and modules 2019-10-26 19:19:39 +08:00