Sha256: 5f36f44286b9b3f7ce8508e68c3be9ee8bf98eef5a496eab7cecedc9d58a2347

Contents?: true

Size: 635 Bytes

Versions: 1

Compression:

Stored size: 635 Bytes

Contents

#!/bin/bash

# Add the artifactory gem source
gem source -a https://$ARTIFACTORY_USERNAME:$ARTIFACTORY_PASSWORD@trusona.jfrog.io/trusona/api/gems/trusona-rubygems/

# fetch the gem credentials file from artifactory
curl -u$ARTIFACTORY_USERNAME:$ARTIFACTORY_PASSWORD https://trusona.jfrog.io/trusona/api/gems/trusona-rubygems/api/v1/api_key.yaml > ~/.gem/credentials

# change permissions on the fetched credentials file
chmod 600 ~/.gem/credentials

# build the gem
gem build trusona.gemspec

# push the gem to artifactory
gem push trusona-*.gem  --host https://trusona.jfrog.io/trusona/api/gems/trusona-rubygems
gem push trusona-*.gem

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trusona-0.16.0 release-gem