Skip to content

Commit

Permalink
fork: commit pre-release scripts for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
trinitronx committed Oct 22, 2023
1 parent 6204426 commit 69cd972
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
15 changes: 8 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion scripts/changelog.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

Expand Down

0 comments on commit 69cd972

Please sign in to comment.