Sha256: 5c50f37bb14c05c8352f323271f57b746b7c30361bcd4f03abd4dd39e7263569
Contents?: true
Size: 454 Bytes
Versions: 5
Compression:
Stored size: 454 Bytes
Contents
#!/usr/bin/env bash VERSION=$1 if [ -z "$VERSION" ]; then echo "Error: The version number is required." echo "Usage: $0 <version-number>" exit 1 fi printf "module RailsIcons\n VERSION = \"$VERSION\"\nend\n" > ./lib/rails_icons/version.rb bundle git add Gemfile.lock lib/rails_icons/version.rb git commit -m "Bump version for $VERSION" git push git tag v$VERSION git push --tags gem build rails_icons.gemspec gem push "rails_icons-$VERSION.gem"
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rails_icons-1.1.0 | bin/release |
rails_icons-1.0.0 | bin/release |
rails_icons-0.4.0 | bin/release |
rails_icons-0.3.0 | bin/release |
rails_icons-0.2.0 | bin/release |