Sha256: be451f2d191571d75e72bbc39daea28bf90be5013865482b03cfb0779c5d3db5

Contents?: true

Size: 633 Bytes

Versions: 3

Compression:

Stored size: 633 Bytes

Contents

#!/bin/bash

set -ue

# Standard build.sh for Ruby-based projects that publish a gem

echo "Using gem $(gem --version)"

#shellcheck source=/dev/null
source "$(dirname "$0")/gems-setup.sh"

echo; echo "Installing dependencies"
${BUNDLER_COMMAND} install

# Build Ruby Gem - this assumes there is a single .gemspec file in the main project directory
# Note that the gemspec must be able to get the project version either from $LD_RELEASE_VERSION,
# or from somewhere in the source code that the project-specific update-version.sh has updated.
echo "Running gem build"
gem build ./*.gemspec || { echo "gem build failed" >&2; exit 1; }

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
ld-eventsource-2.1.0 .ldrelease/circleci/template/build.sh
launchdarkly-server-sdk-6.2.4 .ldrelease/circleci/template/build.sh
ld-eventsource-2.0.1 .ldrelease/circleci/template/build.sh