Skip to content

Commit

Permalink
Fix update-packs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
AliOsm committed Oct 25, 2024
1 parent 32e1a8a commit 341a38f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update-packs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 341a38f

Please sign in to comment.