Etienne Magnier
5687ff9bf5
added option to skip commit after a bump
2021-11-30 15:55:02 +01:00
Phil
0f4358dcdd
check preReleaseWords
2021-11-22 13:54:01 +01:00
Phil
73ae0d45d1
added check for empty `INPUT_RC-WORDING`
...
added check for empty `INPUT_RC-WORDING`
`const preReleaseWords = process.env['INPUT_RC-WORDING'] ? process.env['INPUT_RC-WORDING'].split(',') : [];`
2021-11-21 19:01:24 +01:00
Phil
18f362b194
Revert "Allow updating npm lockfile v2 with the new version"
2021-10-05 19:31:24 +02:00
Phil
6f0713cf70
Merge pull request #132 from havenchyk/master
...
Allow updating npm lockfile v2 with the new version
2021-10-05 19:25:37 +02:00
Phil
e6e14ff6e4
fix env if
2021-10-05 19:24:46 +02:00
phips28
ea2279d5b3
test lockfile v2 #132
2021-10-05 19:19:01 +02:00
Uladzimir Havenchyk
4e1b9e0a2e
Allow updating npm lockfile v2 with the new version
2021-10-04 22:22:01 +03:00
melody-universe
39e6945130
removed runtime dependencies
2021-08-07 18:28:27 -07:00
melody-universe
18a0f9bf50
removed actions-toolkit and added bundling
2021-08-07 16:35:03 -07:00
Kevin Mahoney
14d1980003
document
2021-07-13 15:43:33 -06:00
Kevin Mahoney
c9f74f6081
make pushing optional
2021-07-13 15:38:26 -06:00
Phil
2a82d29a4f
fixed patch handling if not set
2021-07-01 22:10:38 +02:00
cmario92
09f24b3284
check if rc wording exists then stop v bump - debug
2021-07-01 21:36:01 +03:00
cmario92
01d8a68811
check if rc wording exists then stop v bump
2021-07-01 21:26:14 +03:00
cmario92
03c10b2a9d
comment the logic of the action
2021-07-01 21:17:11 +03:00
mariosch
44d90648f6
Removing logs for debugging
2021-07-01 18:05:23 +03:00
mariosch
65f541cae3
Fix typos
2021-07-01 16:01:06 +03:00
mariosch
cb6143c85d
Attempt to fix prerelease
2021-07-01 15:53:00 +03:00
mariosch
f31cb5f0ed
Attempt to fix prerelease
2021-07-01 15:16:01 +03:00
mariosch
1b7321ba33
Attempt to fix prerelease
2021-07-01 14:59:19 +03:00
mariosch
1aa4623882
Attempt to fix prerelease
2021-07-01 13:27:08 +03:00
mariosch
d51ed3a368
Attempt to fix prerelease
2021-07-01 13:08:46 +03:00
mariosch
22d657a2ad
Attempt to fix prerelease
2021-07-01 12:58:41 +03:00
mariosch
d2aab699b5
Attempt to fix prerelease
2021-07-01 12:50:22 +03:00
mariosch
9550a43c09
Attempt to fix prerelease
2021-07-01 12:43:08 +03:00
mariosch
fdfb7839db
Increase package version
2021-07-01 12:35:07 +03:00
mariosch
b3ccdec230
Attempt to fix prerelease
2021-07-01 11:53:11 +03: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