Commit Graph

86 Commits

Author SHA1 Message Date
phips28 b8b23f67d5 input tag in commit message detection 2021-07-01 21:53:38 +02:00
phips28 ff0dcea461 remove code fallback, as it is a default in action.yml 2021-05-20 23:41:43 +02:00
phips28 7985e8de63 case: if default=prerelease, but rc-wording is also set
then unset it and do not run, when no rc words found in message
2021-05-20 23:41:12 +02:00
phips28 0f5be41d67 tag-prefix default: v
strip v from default versioning
2021-05-20 23:12:07 +02:00
phips28 cbb34a0261 added prettier 2021-05-20 22:54:50 +02:00
Noam Okman 3a297dd15f
Fix isVersionBump detection 2021-03-15 17:58:12 +02:00
Md Fasihul Kabir ab791d324d supported preid for default prerelease version 2021-03-10 15:34:41 +06:00
Md Fasihul Kabir 223bf2a2d9 #76: added support for custom preid 2021-03-09 17:34:54 +06:00
Matt Anglin c87380f10b Fix replace to handle global version replacement 2021-03-02 17:59:38 -08:00
Matt Anglin f277ac213e Allow custom commit messages for version bump 2021-03-02 13:52:52 -08:00
Daniel Kao 1f7f2d1296
Update setting name and README 2020-11-25 22:47:18 +08:00
Daniel Kao 5d776519d3
Allow the version upgrade to be executed on a separate branch 2020-11-25 12:15:10 +08:00
Brian Whitton 50c6ef5400
FIX: patch version bumps
#64 identified the issue, but the problem persists. From what I can tell, the value of `process.env['INPUT_PATCH-WORDING']` is the empty string, which returns `['']` when `.split(',')` is called.

so then in the conditional, `patchWords === ['']`, which evaluates to true and causes the version to be nulled out.
2020-11-17 18:06:05 -05:00
Johan LAJILI 1742335df7
Fix not default to patch anymore
Hi, I'm using the last version of this github action and it doesn't resolve to patch anymore, it says
```
Couldn't find any commits in this event, incrementing patch version...
messages: []
✔  success   No version keywords found, skipping bump.
```
I believe this is because patchWords is an empty array, which then makes it enter the condition line 54, and since it's written negatively version will be set to null.

I don't really understand why patchWords is an empty array, but I'm guessing `process.env['INPUT_PATCH-WORDING']` results in an empty string. (if that wasn't the case it would crash line 31 saying `cannot read property split of undefined`).
2020-11-17 17:24:16 +00:00
phips28 4a6678f279 reformat 2020-11-16 20:26:17 +01:00
phips28 f89fbceca4 reformat 2020-11-16 20:25:09 +01:00
falko189 0bba404bec
Added output of the tag to the action 2020-11-16 16:24:15 +00:00
bootsie123 670977ccf7
Update index.js 2020-10-23 08:54:23 -04:00
bootsie123 ca5a78cf0b
Update index.js 2020-10-22 16:26:28 -04:00
Fabian Feichter 2882775f78 version bump is not pushed when tag should not pushed 2020-10-19 11:05:25 +02:00
alehechka 35e0718db4 Adding patch and rc param options 2020-10-09 11:55:11 -05:00
Phil 741165fce4
use const instead of let 2020-10-06 21:50:00 +02:00
gmaggiodev 07e8645be0 support for preId 2020-10-06 18:26:53 +02:00
gmaggiodev e18d844842 support for preId 2020-10-06 18:10:02 +02:00
gmaggiodev fcbd2a1268 support for preId 2020-10-06 17:50:52 +02:00
gmaggiodev c4c54e048a added prerelease support 2020-10-06 17:19:47 +02:00
Phil ac96246d24
added a console.log for messages 2020-10-06 15:23:29 +02:00
phips28 b46158275b revert test pr 2020-09-30 19:48:32 +02:00
phips28 7ec3ae4d5e test pr 2020-09-30 19:45:30 +02:00
phips28 e8541ea883 fix: pull request stuff 2020-09-30 19:41:15 +02:00
Phil baf9e691f5
Merge pull request #39 from Jacse/master
Support running in pull requests
2020-09-30 15:12:47 +02:00
Jacob Lauritzen f4692d2d07
Remove log 2020-09-26 14:34:59 +02:00
Jacob Lauritzen 044466b91b
Fetch local branches 2020-09-26 14:29:49 +02:00
Jacob Lauritzen c3025e2dfa
Get head branch from PRs 2020-09-26 14:13:48 +02:00
Manuel Spigolon f3ae0188d0
Merge branch 'master' into customizable-wording 2020-09-08 08:46:49 +02:00
Manuel Spigolon f1a6a3e81b feat: skip repo tag step 2020-09-06 13:13:52 +02:00
Manuel Spigolon f965b1a839 feat: customizable major and minor wording to bump new versions 2020-09-06 12:24:19 +02:00
Gustavo Parreira 6d91d06638
fix: breaking change syntax regex 2020-09-01 18:42:25 +01:00
Gustavo Parreira 6b50245619
feat: Add support for syntax for breaking change. 2020-09-01 16:01:53 +01:00
Emad-salah 94b152067a
Update patch version
Added fallback condition to increment patch version in cases where no commits are present in the event (e.g. Pull Requests and custom events)
2020-07-23 15:08:46 +01:00
phips28 ceb9e60b87 fix code style 2020-04-28 18:53:02 +02:00
Kyle e213308b3f feat: allow email and user to be overriden 2020-04-28 11:10:51 -04:00
phips28 966efc31a3 support v1 2020-04-04 01:39:59 +02:00
phips28 a5b2f289e9 test checkout v2 2020-04-03 13:04:35 +02:00
phips28 c4958f7006 test checkout v2 2020-04-03 12:49:58 +02:00
phips28 a88ebf2f19 test checkout v2 2020-04-03 12:48:15 +02:00
phips28 3fdb4b9a6b test checkout v2 2020-04-03 12:40:31 +02:00
phips28 a23b6e3498 test checkout v2 2020-04-03 12:36:28 +02:00
phips28 9933542c75 test checkout v2 2020-04-03 12:31:23 +02:00
Sam McCants 88132dbe8e fixed issue with finding package.json by setting GITHUB_WORKSPACE 2020-02-18 09:53:44 +00:00