Sha256: 2c5bf70bf8c88bbc9aa068391090bc86c2ee9521036311aeae0155248aad2cd1
Contents?: true
Size: 863 Bytes
Versions: 16
Compression:
Stored size: 863 Bytes
Contents
#!/usr/bin/env bash # This script updates the version for the launchdarkly-server-sdk 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-server-sdk release." VERSION=$1 #Update version in lib/ldclient-rb/version.rb 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 launchdarkly-server-sdk.gemspec # Publish Ruby Gem gem push launchdarkly-server-sdk-${VERSION}.gem echo "Done with ruby-server-sdk release"
Version data entries
16 entries across 16 versions & 1 rubygems