Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Update goreleaser configuration #288

Open
1 task done
SaschaSchwarze0 opened this issue Nov 12, 2024 · 0 comments
Open
1 task done

[FEATURE] Update goreleaser configuration #288

SaschaSchwarze0 opened this issue Nov 12, 2024 · 0 comments
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature.

Comments

@SaschaSchwarze0
Copy link
Member

SaschaSchwarze0 commented Nov 12, 2024

Is there an existing feature request for this?

  • I have searched the existing feature requests

Is your feature request related to a problem or use-case? Please describe.

The release of v0.14.0 contains a couple of warnings for goreleaser that we may want to look at.

Downloading https://github.com/goreleaser/goreleaser/releases/download/v2.4.4/goreleaser_Linux_x86_64.tar.gz
Extracting GoReleaser
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/e896f274-8777-477c-82d6-57bc26246639 -f /home/runner/work/_temp/1f97ef27-eb69-41ee-8fdf-8c74c302f667
GoReleaser ~> v2 installed successfully
/opt/hostedtoolcache/goreleaser-action/2.4.4/x64/goreleaser release --clean --release-notes /tmp/release-notes/Changes.md
  • only configurations files on  version: 2  are supported, yours is  version: 0 , please update your configuration
  • cleaning distribution directory
  • loading environment variables
    • using token from  $GITHUB_TOKEN 
  • getting and validating git state
    • git state                                      commit=435b9812531ecae1c7b8e98c5f69b5f11698f376 branch=release-v0.14 current_tag=v0.14.0 previous_tag=v0.13.0 dirty=false
  • parsing tag
  • setting defaults
    • DEPRECATED:  snapshot.name_template  should not be used anymore, check https://goreleaser.com/deprecations#snapshotnametemplate for more info
  • running before hooks
    • running                                        hook=go generate ./...
  • ensuring distribution directory
  • setting up metadata
  • writing release metadata
  • loading go mod information
  • build prerequisites
  • building binaries
    • building                                       binary=dist/cli_darwin_arm64_v8.0/shp
    • building                                       binary=dist/cli_darwin_amd64_v1/shp
    • building                                       binary=dist/cli_linux_arm64_v8.0/shp
    • building                                       binary=dist/cli_linux_amd64_v1/shp
    • building                                       binary=dist/cli_windows_amd64_v1/shp.exe
    • building                                       binary=dist/cli_windows_arm64_v8.0/shp.exe
    • took: 5m23s
  • generating changelog
  • archives
    • creating                                       archive=dist/cli_0.14.0_macOS_arm64.tar.gz
    • creating                                       archive=dist/cli_0.14.0_macOS_x86_64.tar.gz
    • creating                                       archive=dist/cli_0.14.0_linux_arm64.tar.gz
    • creating                                       archive=dist/cli_0.14.0_linux_x86_64.tar.gz
    • creating                                       archive=dist/cli_0.14.0_windows_arm64.tar.gz
    • creating                                       archive=dist/cli_0.14.0_windows_x86_64.tar.gz
    • took: 12s
  • calculating checksums
  • publishing
    • scm releases
      • releasing                                    tag=v0.14.0 repo=shipwright-io/cli
      • created                                      url=https://github.com/shipwright-io/cli/releases/tag/untagged-d40dd83fd28611798bc8
      • uploading to release                         file=dist/cli_0.14.0_macOS_x86_64.tar.gz name=cli_0.14.0_macOS_x86_64.tar.gz
      • uploading to release                         file=dist/cli_0.14.0_linux_arm64.tar.gz name=cli_0.14.0_linux_arm64.tar.gz
      • uploading to release                         file=dist/cli_0.14.0_macOS_arm64.tar.gz name=cli_0.14.0_macOS_arm64.tar.gz
      • uploading to release                         file=dist/cli_0.14.0_linux_x86_64.tar.gz name=cli_0.14.0_linux_x86_64.tar.gz
      • uploading to release                         file=dist/cli_0.14.0_windows_arm64.tar.gz name=cli_0.14.0_windows_arm64.tar.gz
      • uploading to release                         file=dist/cli_0.14.0_windows_x86_64.tar.gz name=cli_0.14.0_windows_x86_64.tar.gz
      • uploading to release                         file=dist/checksums.txt name=checksums.txt
      • published                                    url=https://github.com/shipwright-io/cli/releases/tag/v0.14.0
      • release published                            url=https://github.com/shipwright-io/cli/releases/tag/v0.14.0
  • writing artifacts metadata
  • announcing
  • you are using deprecated options, check the output above for details
  • release succeeded after 5m39s
  • thanks for using goreleaser!

Also, goreleaser creates a Go release which is immediatly marked latest instead of keeping it in pre-release.

Describe the solution that you would like.

Let's investigate those findings and see what we need to adopt.

Describe alternatives you have considered.

No response

Anything else?

No response

@SaschaSchwarze0 SaschaSchwarze0 added the kind/feature Categorizes issue or PR as related to a new feature. label Nov 12, 2024
@qu1queee qu1queee added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature.
Projects
Status: No status
Development

No branches or pull requests

2 participants