Commit Graph

85 Commits

Author SHA1 Message Date
Cotes Chung fe82cea576
chore(tools): fix typo 2023-03-01 00:48:25 +08:00
Cotes Chung 4490ce4107
refactor(tools): fix shell check issues 2023-02-16 05:02:22 +08:00
Cotes Chung dd339aea2b
chore: ignore gem lock file in user-end 2023-01-30 03:01:02 +08:00
Cotes Chung 6fa1777eb0
chore(tools): checkout latest tag on initialization 2022-12-28 01:13:35 +08:00
Cotes Chung 5a191e79af
chore: remove extension from tools 2022-12-28 01:10:27 +08:00
Cotes Chung 5fc428353c
build(cd): migrate CD to GitHub 2022-12-05 00:51:38 +08:00
Cotes Chung fa9879b5f1
chore: improve init-tool
- cleanup unused code of init-tool
- use conventional commits
2022-12-05 00:41:13 +08:00
Bornunique911 8734d1c1a3
chore: correct typo in `tools/init.sh` (#773) 2022-12-02 22:50:38 +08:00
Cotes Chung 4e7bf00ee9
chore: optimize the heading levels in change-log 2022-11-22 21:08:37 +08:00
Cotes Chung e50343b06b
refactor(tools): reduce release steps 2022-11-22 19:05:19 +08:00
Cotes Chung df8185f887
build: add `skip-versioning` option for release tool
Allow change the `CHANGELOG.md`
2022-10-25 21:17:51 +08:00
Cotes Chung 80cb0b3717
fix(tools): multiple configuration files will fail the test 2022-10-06 20:39:40 +08:00
Cotes Chung 4023be9bef
chore: simplify the release tool
Tagging on the`master` or `patch` branch
2022-09-10 00:56:56 +08:00
Galen Rice 43323abdfe
chore(ci, cd): build and deploy via _gh-actions_ directly
New actions available in GitHub allow for building and deploying the site
completely from the actions workflow with minimal code.
The deploy.sh script is no longer necessary with these changes.
2022-09-07 22:53:11 +08:00
Cotes Chung 7f18cdc1fd
build: fix the `preview` mode for release tool 2022-06-09 17:59:25 +08:00
Galen Rice 5402523ae5
fix: force checkout of `gh-pages` branch (#544)
When using the theme starter, which uses a git submodule,
assets loaded from that submodule are "untracked" files in the pages branch working tree.
The build can fail at this line due to Git, saying "the following untracked working tree files would be overwritten by checkout".

Adding `-f` forces the checkout, overwriting all files.
The other deploy steps then take over and rewrite the files as needed.
2022-04-02 19:22:48 +08:00
Cotes Chung 03e4f575ba
build(npm, shell): use the global `standard-version` 2022-03-13 16:53:13 +08:00
Cotes Chung 42fe8f5d21
build(shell): update release tool to work with `standard-version` 2022-03-03 02:46:28 +08:00
Cotes Chung 5f31fbcf72 Enhance versioning tools 2022-02-14 23:59:17 +08:00
Cotes Chung b27258899b Clear references to deleted folder `docs` 2022-02-04 06:23:09 +08:00
Cotes Chung fc71289dc8 Bypass Jekyll build on the `gh-pages` branch 2021-12-31 00:09:13 +08:00
Cotes Chung fa15aebbca Fix the failure of the init-tool with the `—no-gh` option (resolve #429) 2021-10-15 00:49:13 +08:00
Cotes Chung 565ad9229c Remove the value of `img_cdn` and `avatar` from the gem package 2021-10-15 00:49:13 +08:00
Cotes Chung a400dc9501 Specify the version of the images in the CDN 2021-09-30 02:23:34 +08:00
Cotes Chung 6a4169fc03 Make the init tool compatible with BSD 2021-09-30 02:17:24 +08:00
Cotes Chung d9863d6a02 Separate the release steps from the bump tool 2021-09-29 22:18:38 +08:00
Cotes Chung b460d03c3b Merge the test tool into the deploy tool 2021-09-29 22:18:38 +08:00
Cotes Chung a053c454e4 Improve the init tool 2021-09-29 22:18:38 +08:00
Cotes Chung c68a937e01 Improve the bump tool so that it can cherry-pick a merge type commit 2021-09-16 21:00:32 +08:00
Cotes Chung 9d9bca5e3b Improve the bump tool 2021-08-09 13:17:40 +08:00
Cotes Chung 7f8c19d480 Improve the code style on shell scripts
Double quote to prevent globbing and word splitting.
2021-07-11 17:26:49 +08:00
Cotes Chung 9359d6ef11 Ignore image links in html-proofer test 2021-07-02 17:14:40 +08:00
Cotes Chung 08ec6cd3b5 Simplify the gitlab flow history 2021-06-24 21:30:05 +08:00
Cotes Chung 72e8ffafa6 Exclude JS source code from the output 2021-04-20 04:22:28 +08:00
Cotes Chung a71659ed27 Fix bump tool 2021-04-12 13:34:01 +08:00
Cotes Chung 588fbbbec7 Stop tracking Gemfile.lock in deployment tool (#306) 2021-04-07 15:15:17 +08:00
Cotes Chung fad8a23b87 Update the bump tool 2021-04-02 16:16:31 +08:00
Cotes Chung 8ce8fc780f Improve the bump tool 2021-02-28 05:49:29 +08:00
Cotes Chung 89200f3109 Improve the bump tool 2021-02-10 21:15:58 +08:00
Cotes Chung ba6c7eceec Add a modification to `Gemfile.lock` in bump tool 2021-02-05 01:55:20 +08:00
Cotes Chung 83a7878043 Improved bump tool to fit the release branches 2021-02-02 21:56:17 +08:00
Cotes Chung c9765e6923 Merge gem-build & bump tool
Drop the yard doc
2021-01-28 23:17:16 +08:00
Cotes Chung 4a084eb681 Add new tool to build gem 2021-01-28 04:57:11 +08:00
Cotes Chung 8e84c6b9d6 Improve code style
- js/css
- markdown
- shell
2021-01-28 03:21:58 +08:00
Cotes Chung c1b20d8f71 Fix bump tool 2021-01-27 03:40:17 +08:00
Cotes Chung 9ae2aee222 Improve the gh-actions CD script 2021-01-26 23:26:03 +08:00
Cotes Chung 893db51ff0 Improve the copyrights of the assets 2021-01-26 20:24:47 +08:00
Cotes Chung 6dc6f2a7cf Improve code style 2020-12-18 21:05:47 +08:00
Cotes Chung 8d4c555638 Fix gh-actions cache not being hit issue (#191) 2020-12-07 00:10:15 +08:00
Cotes Chung cbf707dc56 Update runner tool
allow LAN access Jekyll
2020-12-06 14:17:41 +08:00