Commit Graph

105 Commits

Author SHA1 Message Date
Phil Jay
ca62a5d18e Update to latest BATS 2024-04-24 12:45:43 +10:00
Phil Jay
f149a06e08 Switch to bats-core/bats-action
Is maintained, and uses up to date node (v20)
2024-04-24 12:44:19 +10:00
Phil Jay
dee3ec8905 Merge pull request #30 from b0bben/action-path-lookup-windows
Add Windows runners compatibility
2024.4.3
2024-04-24 12:37:10 +10:00
Phil Jay
8df12f2eb1 Update README 2024-04-24 12:35:10 +10:00
Phil Jay
16351e1923 Update to use brace variable referencing
https://stackoverflow.com/a/8748880
2024-04-24 12:28:33 +10:00
Phil Jay
512aaef59f Fix: file location after rework of tests 2024-04-24 12:25:14 +10:00
Phil Jay
238431148e Remove log message
- Message is using a variable that's not confirmed as set yet
- Message is output by `version-lookup.sh` in normal operation anyway
2024-04-24 12:25:14 +10:00
Phil Jay
192637163e Enable testing on Windows 2024-04-24 12:12:29 +10:00
Bob Jelica
b51c517604 Force utf8 for all commands during execution 2024-04-24 12:12:04 +10:00
Bob Jelica
3165846543 Force utf8 before grepping 2024-04-24 12:09:02 +10:00
Bob Jelica
f16cac75c5 Try forcing locale for grep 2024-04-24 12:02:38 +10:00
Bob Jelica
d4ed669f7f Fix other test + add more debugging for windows 2024-04-24 12:01:04 +10:00
Bob Jelica
a121e1106e Fix tests 2024-04-24 12:01:04 +10:00
Bob Jelica
0483a06d99 Set starting patch number to '1' since increment doesn't work with 0s 2024-04-24 12:01:04 +10:00
Bob Jelica
a6b9cc8234 Fix 2nd location with path as well 2024-04-24 12:01:04 +10:00
Bob Jelica
2055d25933 Lookup action path in a Windows-friendly way 2024-04-24 12:01:04 +10:00
Phil Jay
acb0193bef Merge pull request #32 from ps-jay/matrix
Add multi-OS testing (`ubuntu` & `macos` for now); Rework MacOS support to use `perl`
2024.4.2
2024-04-24 11:55:29 +10:00
Phil Jay
ed7b98e336 Disable Windows testing for now 2024-04-24 11:45:57 +10:00
Phil Jay
13338be6d3 Rework MacOS support 2024-04-24 11:43:51 +10:00
Phil Jay
74a6f3d520 Run tests on all runner types 2024-04-24 11:00:01 +10:00
Phil Jay
ae1ae190dc Merge pull request #31 from reecetech/feature/support-conventional-commits
Support conventional commits
2024.4.1
2024-04-23 17:41:08 +10:00
Phil Jay
81805365e1 Update README.md for version bump 2024-04-23 17:37:34 +10:00
Phil Jay
c6ea11748a Update README.md for conventional commits 2024-04-23 17:34:47 +10:00
Phil Jay
73ade5516c Update version-increment.sh for old comment 2024-04-23 17:17:01 +10:00
Phil Jay
352a9961c8 Update action.yml for README 2024-04-23 17:13:22 +10:00
Daniel Atanasovski
a449b75848 test: add tests for new conventional_commits scheme 2024-03-20 15:41:30 +11:00
Daniel Atanasovski
0df84379a9 feat: add new scheme conventional_commits 2024-03-20 15:41:06 +11:00
Daniel Atanasovski
0c4ebd1e55 fix: strip leading 0 in date command for CI workflow 2024-03-20 15:39:13 +11:00
Daniel Atanasovski
b920b6b45e feat: shellcheck config for simplicity 2024-03-20 15:38:23 +11:00
Phil Jay
71036b212b Merge pull request #27 from reecetech/maintenance
Remove old code blocks
2023.10.2
2023-10-20 16:12:58 +11:00
Phil Jay
bfdbc118ba Remove transitional code
We don't have any more projects at `reecetech` that use the older
non-semver compliant calver versioning
2023-10-19 22:27:40 +11:00
Phil Jay
68bf4fe26d Remove duplicate code
The functionality is included in `shared.sh` which is sourced by this
file
2023-10-19 22:25:05 +11:00
Phil Jay
89a53df5e6 Merge pull request #26 from reecetech/use_api
Add new `use_api` feature, to allow the action to work without checking out the repo first
2023.10.1
2023-10-19 14:36:08 +11:00
Phil Jay
aac681e0d0 Improve testing by testing the action.yml 2023-10-19 00:41:37 +11:00
Phil Jay
95f6bcc37a Update README 2023-10-19 00:24:41 +11:00
Phil Jay
8b80e08158 Add use_api feature
So that you don't _need_ to checkout (clone) the repo to the worker
2023-10-19 00:24:41 +11:00
Phil Jay
27ee2a7786 Add testing for use_api 2023-10-18 23:59:53 +11:00
Phil Jay
de5ab041fb Merge pull request #25 from reecetech/update-shellcheck-action
Update shellcheck action
2023.9.3
2023-09-20 10:41:05 +10:00
Phil Jay
3ac8392aa4 Update to latest shellcheck
Solves for `set-output` deprecation warnings
2023-09-20 10:39:13 +10:00
Phil Jay
72c1fa6077 Bump up example version 2023-09-20 10:38:38 +10:00
Phil Jay
f21e559797 Merge pull request #24 from reecetech/swtich-to-softprops/action-gh-release
Replace out-of-date action
2023.9.2
2023-09-20 10:36:27 +10:00
Phil Jay
4415fcb6c0 Replace out-of-date action
The update to node 16 has been un-merged for a long time: https://github.com/marvinpinto/action-automatic-releases/pull/2
2023-09-20 10:33:38 +10:00
Phil Jay
4846cbaf9d Merge pull request #23 from ps-jay/main
Introduce test for `release_branch`, & update README
2023.9.1
2023-09-18 09:11:58 +10:00
Phil Jay
468208262a Default variable to blank string 2023-09-18 09:01:27 +10:00
Phil Jay
e5f8667dfc Add test for release_branch 2023-09-18 09:01:27 +10:00
Phil Jay
2ef15157dd Update README 2023-09-18 09:01:27 +10:00
Phil Jay
0974302def Merge pull request #22 from octoev/main
Add release branch as an input
2023-09-18 09:00:11 +10:00
Adam Short
67d70b45a4 Specify "release_branch" is not required 2023-09-05 10:15:26 +01:00
adamshortev
47e175a747 Apply suggestions from code review
Co-authored-by: Chris Bennett <110393183+oev-chrisbennett@users.noreply.github.com>
2023-08-30 11:48:14 +01:00
Adam Short
8202de8885 Give action unique name. 2023-08-30 11:17:54 +01:00