From fad8a23b8726ee3898a9bec4ff9f3c2b19a9491f Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Fri, 2 Apr 2021 16:16:31 +0800 Subject: [PATCH] Update the bump tool --- tools/bump.sh | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/tools/bump.sh b/tools/bump.sh index 5c67b52..18b09d8 100755 --- a/tools/bump.sh +++ b/tools/bump.sh @@ -21,13 +21,11 @@ manual_release=false ASSETS=( "_sass/jekyll-theme-chirpy.scss" - "assets/js/.copyright" + "assets/js/_copyright" ) GEM_SPEC="jekyll-theme-chirpy.gemspec" -GEM_LOCK="Gemfile.lock" - NODE_META="package.json" _check_src() { @@ -75,17 +73,10 @@ _bump_node() { $NODE_META } -_bump_gemlock() { - sed -i \ - "s/jekyll-theme-chirpy ([[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+/jekyll-theme-chirpy ($1/" \ - $GEM_LOCK -} - bump() { _bump_assets "$1" _bump_gemspec "$1" _bump_node "$1" - _bump_gemlock "$1" if [[ -n $(git status . -s) ]]; then git add .