Skip to content

Commit

Permalink
Change summary and description when preparing new gems
Browse files Browse the repository at this point in the history
  • Loading branch information
AliOsm committed Sep 1, 2024
1 parent 42da682 commit 218e6e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/scripts/prepare-new-gem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ done
mv lib/phlex_icons.rb "lib/phlex_icons_${pack_to_keep}.rb"

sed -i "s/spec.name = 'phlex-icons'/spec.name = 'phlex-icons-${pack_to_keep}'/" phlex-icons.gemspec
sed -i "s/spec.summary = 'Icons library for Phlex'/spec.summary = '${pack_to_keep^} icons library for Phlex'/" phlex-icons.gemspec
sed -i "s/spec.description = 'Icons library for Phlex'/spec.summary = '${pack_to_keep^} icons library for Phlex'/" phlex-icons.gemspec
mv phlex-icons.gemspec "phlex-icons-${pack_to_keep}.gemspec"

# Configure git (only if not already configured)
Expand Down

0 comments on commit 218e6e5

Please sign in to comment.