From 69cd972159a0edf6736ee5faec495431a9603a95 Mon Sep 17 00:00:00 2001 From: James Cuzella Date: Sun, 22 Oct 2023 16:25:34 -0600 Subject: [PATCH] fork: commit pre-release scripts for testing --- .goreleaser.yml | 15 ++++++++------- scripts/changelog.sh | 2 +- scripts/release.sh | 3 ++- 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 10425f663..355894fdb 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -37,16 +37,17 @@ source: checksum: name_template: "doctl-{{ .Version }}-checksums.sha256" -dockers: -- dockerfile: Dockerfile.goreleaser - image_templates: - - "digitalocean/doctl:latest" - - "digitalocean/doctl:{{ .Major }}-latest" - - "digitalocean/doctl:{{ .Version }}" +#dockers: +#- dockerfile: Dockerfile.goreleaser +# image_templates: +# - "digitalocean/doctl:latest" +# - "digitalocean/doctl:{{ .Major }}-latest" +# - "digitalocean/doctl:{{ .Version }}" +# Fork for Pre-release testing release: github: - owner: digitalocean + owner: trinitronx name: doctl changelog: diff --git a/scripts/changelog.sh b/scripts/changelog.sh index 42c6ae3de..f4358962e 100755 --- a/scripts/changelog.sh +++ b/scripts/changelog.sh @@ -3,7 +3,7 @@ set -o pipefail tfile=$(mktemp /tmp/doctl-CHANGELOG-XXXXXX) -github-changelog-generator -org digitalocean -repo doctl >"$tfile" +github-changelog-generator -org trinitronx -repo doctl >"$tfile" GO111MODULE=on go mod tidy diff --git a/scripts/release.sh b/scripts/release.sh index 1c1ea33ea..2c19d55ca 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -8,7 +8,8 @@ if [[ ! -x $(command -v goreleaser) ]] ; then fi echo "generating changelog" -release_notes="$(make _changelog)" +#release_notes="$(make _changelog)" +release_notes=/tmp/doctl-CHANGELOG-oTPy0m goreleaser --rm-dist --release-notes="${release_notes}"