Sha256: 4f5c3443df977d6800ac460340134488884c1ba91b206efde715e6631e1d9c6c

Contents?: true

Size: 437 Bytes

Versions: 9

Compression:

Stored size: 437 Bytes

Contents

#!/bin/bash

main() {
  docker-compose up -d gridium

  trap bin/cleanup EXIT

  docker exec $(docker-compose ps -q gridium) bash -c "echo -e '---\n:rubygems_api_key: $1' >> ~/.gem/credentials; chmod 0600 ~/.gem/credentials; cat ~/.gem/credentials"
  docker exec $(docker-compose ps -q gridium) bash -c "gem build gridium.gemspec"
  docker exec $(docker-compose ps -q gridium) bash -c "gem push gridium-1.0.$BUILD_NUMBER.gem"
}

main $1

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
gridium-1.0.26 bin/builder
gridium-1.0.25 bin/builder
gridium-1.0.24 bin/builder
gridium-1.0.22 bin/builder
gridium-1.0.21 bin/builder
gridium-1.0.20 bin/builder
gridium-1.0.19 bin/builder
gridium-1.0.18 bin/builder
gridium-1.0.17 bin/builder