Sha256: b0a5bd6ea3b2f36fb02d74bd1f084218c55d1496fc2ffe887b7fa197e4179a31

Contents?: true

Size: 507 Bytes

Versions: 5

Compression:

Stored size: 507 Bytes

Contents

#!/usr/bin/env bash
set -e
wget https://github.com/tcnksm/ghr/releases/download/v0.12.0/ghr_v0.12.0_linux_amd64.tar.gz
tar -xzvf ghr_v0.12.0_linux_amd64.tar.gz
sudo chmod +x ghr_v0.12.0_linux_amd64
sudo mv ghr_v0.12.0_linux_amd64/ghr /usr/local/bin/ghr

VERSION=`cat VERSION`
echo "Pushing SCK release to github releases...${VERSION}"

ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -n "${RELEASE_TITLE}" -b "${RELEASE_BODY}" -draft ${VERSION} /tmp/pkg/

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
fluent-plugin-k8s-metrics-agg-1.1.2 .circleci/build_and_push_to_github_release.sh
fluent-plugin-kubernetes-metrics-1.1.2 .circleci/build_and_push_to_github_release.sh
fluent-plugin-k8s-metrics-agg-1.1.1 .circleci/build_and_push_to_github_release.sh
fluent-plugin-k8s-metrics-1.1.1 .circleci/build_and_push_to_github_release.sh
fluent-plugin-k8s-metrics-agg-1.1.0 .circleci/build_and_push_to_github_release.sh