diff options
| author | Egor Tensin <egor@tensin.name> | 2026-09-14 17:31:57 +0500 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-09-14 17:31:57 +0500 |
| commit | 679b070c0d5f2a6968e8352ff3d34a287520b99c (patch) | |
| tree | 2cf89c0117a807690b0202c2bfe577c667aaea59 /Makefile | |
| parent | bump dependencies (diff) | |
| download | jekyll-theme-679b070c0d5f2a6968e8352ff3d34a287520b99c.tar.gz jekyll-theme-679b070c0d5f2a6968e8352ff3d34a287520b99c.zip | |
Makefile: move out maintenance stuff into a separate script
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 1 insertions, 17 deletions
@@ -16,23 +16,7 @@ deps: ruby .PHONY: maintenance maintenance: ruby - bundle config set frozen false - bundle update - - @git_status="$$( git status --porcelain=v1 )" && \ - if [ -z "$$git_status" ]; then \ - true; \ - elif [ "$$git_status" = ' M Gemfile.lock' ]; then \ - git commit -am 'bump dependencies' && \ - git push -q; \ - else \ - echo; \ - echo '-----------------------------------------------------------------'; \ - echo 'Error: unrecognized modifications in the repository:'; \ - echo "$$git_status"; \ - echo '-----------------------------------------------------------------'; \ - exit 1; \ - fi + ./.github/maintenance.sh jekyll := bundle exec jekyll |
