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 .