From 3f703efa77ff11e0dd9e6000bb2928afa5dfd3d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Palet?= Date: Mon, 29 Apr 2024 16:10:30 +0100 Subject: [PATCH] Update changelog generation implementation --- .goreleaser.yaml | 1 + docs/stackit_dns_zone.md | 2 +- docs/stackit_dns_zone_describe.md | 4 ++-- internal/cmd/dns/zone/describe/describe.go | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index a0a7c51b7..041ddccf5 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -54,6 +54,7 @@ release: prerelease: auto changelog: + use: github sort: asc filters: exclude: diff --git a/docs/stackit_dns_zone.md b/docs/stackit_dns_zone.md index e6f0280e8..d46ebe906 100644 --- a/docs/stackit_dns_zone.md +++ b/docs/stackit_dns_zone.md @@ -31,7 +31,7 @@ stackit dns zone [flags] * [stackit dns](./stackit_dns.md) - Provides functionality for DNS * [stackit dns zone create](./stackit_dns_zone_create.md) - Creates a DNS zone * [stackit dns zone delete](./stackit_dns_zone_delete.md) - Deletes a DNS zone -* [stackit dns zone describe](./stackit_dns_zone_describe.md) - Shows details of a DNS zone +* [stackit dns zone describe](./stackit_dns_zone_describe.md) - Shows details of a DNS zone * [stackit dns zone list](./stackit_dns_zone_list.md) - List DNS zones * [stackit dns zone update](./stackit_dns_zone_update.md) - Updates a DNS zone diff --git a/docs/stackit_dns_zone_describe.md b/docs/stackit_dns_zone_describe.md index 2715208b8..89d8d9ad5 100644 --- a/docs/stackit_dns_zone_describe.md +++ b/docs/stackit_dns_zone_describe.md @@ -1,10 +1,10 @@ ## stackit dns zone describe -Shows details of a DNS zone +Shows details of a DNS zone ### Synopsis -Shows details of a DNS zone. +Shows details of a DNS zone. ``` stackit dns zone describe ZONE_ID [flags] diff --git a/internal/cmd/dns/zone/describe/describe.go b/internal/cmd/dns/zone/describe/describe.go index 840c9ffdc..e0cda41a6 100644 --- a/internal/cmd/dns/zone/describe/describe.go +++ b/internal/cmd/dns/zone/describe/describe.go @@ -30,8 +30,8 @@ type inputModel struct { func NewCmd(p *print.Printer) *cobra.Command { cmd := &cobra.Command{ Use: fmt.Sprintf("describe %s", zoneIdArg), - Short: "Shows details of a DNS zone", - Long: "Shows details of a DNS zone.", + Short: "Shows details of a DNS zone", + Long: "Shows details of a DNS zone.", Args: args.SingleArg(zoneIdArg, utils.ValidateUUID), Example: examples.Build( examples.NewExample(