Sha256: 6f5947681d6b8d8bf830a07bbf26bed63c59ba1c48417929e3eb02732cd7d799

Contents?: true

Size: 367 Bytes

Versions: 4

Compression:

Stored size: 367 Bytes

Contents

#!/bin/bash

set -euo pipefail

version=$(cat lib/swiftformat/gem_version.rb | grep -o "\d\.\d\.\d")

echo "Releasing version ${version}"

echo "Releasing to rubygems.org"
bundle exec rake release

echo "Releasing to GitHub Package Registry"
gem push \
    --key github \
    --host https://rubygems.pkg.github.com/garriguv \
    pkg/danger-swiftformat-${version}.gem

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
danger-swiftformat-0.9.0 scripts/release.sh
danger-swiftformat-0.8.1 scripts/release.sh
danger-swiftformat-0.8.0 scripts/release.sh
danger-swiftformat-0.7.0 scripts/release.sh