diff --git a/.github/workflows/update-packs.yml b/.github/workflows/update-packs.yml index c68a24ad..d0786077 100644 --- a/.github/workflows/update-packs.yml +++ b/.github/workflows/update-packs.yml @@ -94,8 +94,9 @@ jobs: current_version=$(grep 'VERSION = ' lib/phlex/icons/version.rb | cut -d '=' -f 2- | tr -d ' ' | tr -d \') new_version=$(echo $current_version | awk -F. -v OFS=. '{$2++; $3=0; print}') sed -i "s/VERSION = '$current_version'/VERSION = '$new_version'/" lib/phlex/icons/version.rb - bundle - git add lib/phlex/icons/version.rb + bundle config set frozen false + bundle install + git add lib/phlex/icons/version.rb Gemfile.lock git commit -m "Update version to $new_version" git push echo "🔔 Version was updated to $new_version"