Cotes Chung
f1c6d2a817
build: enhance the run script
2024-05-02 03:18:35 +08:00
Cotes Chung
72d93b132f
build: improve init tool
2024-04-28 02:51:16 +08:00
Cotes Chung
bf16d6039a
ci(release): replace standard-version
with semantic-release
( #1666 )
...
[`standard-version`](https://github.com/conventional-changelog/standard-version/ ) has been deprecated since May 2022, so it is necessary to stop using it for this project.
[**`semantic-release`**](https://github.com/semantic-release/semantic-release ) is available as a more capable alternative to help automate the release process:
1. Updating Node/Gem version numbers
2. Generating changelogs
3. Automating GitHub Releases
4. Building Chirpy-gem and pushing it to RubyGems.org
5. Create commits and tags on the `production` branch
6. Merge the `production` branch into the `master` branch
> ⚠️ Note: Step _6_ may be canceled in CD environments due to merge conflicts, so we need to do this step manually in such cases.
Whenever a commit is pushed to the release branch (`production`), all of the above release processes will be triggered.
2024-04-14 05:15:27 +08:00
Cotes Chung
7808ee157c
chore: move starter workflow into subfolder
...
The `.hook` suffix does not make it easy to maintain code in the editor
2024-04-14 04:45:52 +08:00
Azamat Mambetov
9f8aeaadbf
refactor!: rename media-url file and related parameters ( #1651 )
...
- Changed variable `img_cdn` to `cdn` in site configuration file.
- Changed the variable defining the relative path of the image in the post from `img_url` to `media_subpath`
2024-04-13 05:14:55 +08:00
Cotes Chung
9cc62e703f
build(release): build the gem on the production
branch ( #1577 )
2024-03-01 03:11:17 +08:00
Cotes Chung
6b34901d94
refactor(pwa): revert to JS and Liquid mixing
...
The gem package won't be able to pass `/sw.min.js` to the user end
2024-02-13 23:35:32 +08:00
Cotes Chung
1127c43823
feat: add pwa.cache.*
option to precisely control caching ( #1501 )
2024-01-28 02:22:33 +08:00
Cotes Chung
4a7f33f7bb
build(tools): improve the release script
2023-11-07 03:38:02 +08:00
Cotes Chung
bbd92d11cc
chore: move CHANGELOG.md
to docs/
2023-10-04 18:15:22 +08:00
Cotes Chung
4237d078fa
build(release): improve version release strategy
2023-09-10 20:20:43 +08:00
Cotes Chung
806fa3aa1a
refactor: simplify meta info
2023-09-10 20:01:29 +08:00
Cotes Chung
ec69bea841
build: remove _data/authors.yml
from the gem
2023-09-10 20:01:29 +08:00
dependabot[bot]
c574166b51
build(deps-dev): update html-proofer requirement from ~> 3.18 to ~> 4.4 ( #1217 )
...
Updates the requirements on [html-proofer](https://github.com/gjtorikian/html-proofer ) to permit the latest version.
- [Release notes](https://github.com/gjtorikian/html-proofer/releases )
- [Changelog](https://github.com/gjtorikian/html-proofer/blob/main/CHANGELOG.md )
- [Commits](https://github.com/gjtorikian/html-proofer/compare/v3.18.0...v4.4.3 )
And updates `html-proofer` arguments
---
updated-dependencies:
- dependency-name: html-proofer
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-09 20:35:32 +08:00
Cotes Chung
2eb4267cdd
build(release): remove extra blank lines in changelog
2023-07-02 21:01:52 +08:00
PENEKhun
2639f8ed45
chore(tools): correct the file name in the tool's help message ( #1114 )
...
Removing `.sh` from the executable file name
2023-06-28 13:49:13 +08:00
Cotes Chung
98850e1e5d
chore(build): tag on production
branch instead of master
( #1052 )
2023-05-20 00:35:11 +08:00
Penek Suksuda
aca79c1007
chore(tools): fix typos ( #1018 )
2023-05-06 07:10:08 +08:00
Cotes
e90461aa3c
perf(tools): avoid initialization interruption in single branch forks ( #992 )
2023-04-17 02:40:25 +08:00
Cotes Chung
388efb1ae3
chore(tools): add JS dist to gem release
2023-03-18 02:03:16 +08:00
Cotes Chung
471e8c4018
chore(tools): resume git checkout in initialization
2023-03-18 01:49:34 +08:00
Cotes Chung
60229ae334
chore(ci,tools): adapt to changes in JS builds
2023-03-15 21:51:37 +08:00
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