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
phips28
7ab154a5b8
Merge remote-tracking branch 'origin/master'
2020-02-13 20:36:23 +01:00
phips28
ac65c5e4a7
minor: also listen on major/minor in commit message
2020-02-13 20:36:18 +01:00
mob-suvee
be1eb84449
fix: remove double quotes on ci: bump version conventional commit message
2020-01-17 09:07:27 -03:00
phips28
605400761d
custom PACKAGEJSON_DIR
2020-01-13 15:04:50 +01:00
Michal Bureš
19ce3c893e
Remove actions/core
2019-11-20 16:00:55 +01:00
Michal Bureš
42e514b755
Add actions/core
2019-11-20 14:07:49 +01:00
Michal Bureš
02fc217bec
add arguments
2019-11-20 13:59:16 +01:00
Michal Bureš
08b29a2aab
remove core
2019-11-20 13:53:57 +01:00
Michal Bureš
202e9b2f2b
test
2019-11-20 13:50:15 +01:00
Michal Bureš
156dc3eb63
Add tag prefix
2019-11-20 13:37:42 +01:00
phips28
7f86fba4b7
also set version on current opened branch
2019-10-27 20:16:16 +01:00
phips28
37a6004763
also set version on current opened branch
2019-10-27 20:07:29 +01:00
phips28
1e41f0add2
rm log
2019-10-27 02:00:31 +02:00
phips28
83141b33b3
print remoteRepo buffer
2019-10-27 01:55:55 +02:00
phips28
8880505758
checkout current branch
2019-10-27 01:54:32 +02:00
phips28
ae38bb6a26
checkout current branch
2019-10-27 01:52:27 +02:00
phips28
885d2b6c0b
rm log
2019-10-27 01:39:54 +02:00
phips28
20091815db
checkout the current branch
2019-10-27 01:39:43 +02:00
phips28
9124cdaa3c
log event
2019-10-27 01:36:25 +02:00
phips28
ca1952521f
log event
2019-10-27 01:33:19 +02:00
phips28
9137a50617
success if we do nothing
2019-10-26 23:00:38 +02:00
phips28
c2dce8479a
rm log
2019-10-26 22:47:01 +02:00
phips28
8d8cd06086
name
2019-10-26 22:32:18 +02:00
phips28
e86e989e2e
try to fix the git push command
2019-10-26 22:25:37 +02:00
phips28
86db9e0a77
try to fix the git push command
2019-10-26 22:21:51 +02:00
phips28
bede79d845
RUN apt-get update
2019-10-26 22:17:33 +02:00
phips28
d27683955b
logs
2019-10-26 22:11:33 +02:00
phips28
f31220e987
logs
2019-10-26 22:08:48 +02:00
phips28
2c3b50b347
fix script
2019-10-26 21:59:37 +02:00
phips28
9cbd6cfcc2
fix tag command
2019-10-26 21:53:54 +02:00
phips28
7be093300e
fix code formatting
2019-10-26 21:48:02 +02:00
phips28
ba12820400
fix tag command
2019-10-26 21:47:47 +02:00
phips28
b8ad07e55e
set git user
2019-10-26 21:42:48 +02:00
phips28
8eca834494
fixed script
2019-10-26 21:35:29 +02:00
phips28
c6eb09cd73
use runInWorkspace
2019-10-26 21:26:43 +02:00
phips28
3c7493a465
new version with actions-toolkit
2019-10-26 21:06:00 +02:00