Sha256: c8bec8a636e74581132b08f5501ad38dd2f740d3be25789056c31c17b9addb5b
Contents?: true
Size: 809 Bytes
Versions: 26
Compression:
Stored size: 809 Bytes
Contents
#!/usr/bin/env bash # This script updates the version for the ldclient library and releases it to RubyGems # It will only work if you have the proper credentials set up in ~/.gem/credentials # It takes exactly one argument: the new version. # It should be run from the root of this git repo like this: # ./scripts/release.sh 4.0.9 # When done you should commit and push the changes made. set -uxe echo "Starting ruby-client release." VERSION=$1 #Update version in ldclient/version.py VERSION_RB_TEMP=./version.rb.tmp sed "s/VERSION =.*/VERSION = \"${VERSION}\"/g" lib/ldclient-rb/version.rb > ${VERSION_RB_TEMP} mv ${VERSION_RB_TEMP} lib/ldclient-rb/version.rb # Build Ruby Gem gem build ldclient-rb.gemspec # Publish Ruby Gem gem push ldclient-rb-${VERSION}.gem echo "Done with ruby-client release"
Version data entries
26 entries across 26 versions & 1 rubygems