Skip to content

Commit

Permalink
Merge pull request #69 from equinor/goreleaser-ldflags
Browse files Browse the repository at this point in the history
Misc changes
  • Loading branch information
nilsgstrabo authored Oct 13, 2023
2 parents 50b83a2 + e187e63 commit 2e74c35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ builds:
- darwin
- windows
goarch:
- 386
- "386"
- amd64
- arm
- arm64
ldflags:
- "-X 'github.com/equinor/radix-cli/cmd.Version={{ .Version }}'"
- "-s -w -X 'github.com/equinor/radix-cli/cmd.Version={{ .Version }}'"
dockers:
- image_templates:
- "ghcr.io/equinor/radix/rx:latest"
Expand Down
5 changes: 0 additions & 5 deletions cmd/root.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package cmd

import (
_ "embed"
"errors"
"fmt"
"os"
Expand All @@ -18,10 +17,6 @@ import (
"github.com/spf13/cobra"
)

const (
radixCLIError = "Error: Radix CLI executed with error"
)

var Version = "dev"
var rootLongHelp = strings.TrimSpace(`
A command line interface which allows you to interact with the Radix platform through automation.
Expand Down

0 comments on commit 2e74c35

Please sign in to comment.