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

fix deprecated configure of goreleaser #1351

Merged
merged 2 commits into from Jun 7, 2023

Conversation

shogo82148
Copy link
Contributor

fix DEPRECATED warnings of goreleaser.

Run goreleaser/goreleaser-action@v4
Downloading https://github.com/goreleaser/goreleaser/releases/download/v1.14.0/goreleaser_Linux_x86_64.tar.gz
Extracting GoReleaser
/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/9b1579dd-7d1f-4706-b6b1-b183dc0e8cb3 -f /home/runner/work/_temp/7d60f6ed-4281-4a1c-a0c6-03cd59e6d085
GoReleaser latest installed successfully
/opt/hostedtoolcache/goreleaser-action/1.14.0/x64/goreleaser check
  • loading config file                              file=.goreleaser.yml
  • checking config...
    • DEPRECATED: `archives.rlcp` will be the default soon, check https://goreleaser.com/deprecations#archivesrlcp for more info
    • DEPRECATED: `archives.replacements` should not be used anymore, check https://goreleaser.com/deprecations#archivesreplacements for more info
  ⨯ command failed                                   error=config is valid, but uses deprecated properties, check logs above for details
Error: The process '/opt/hostedtoolcache/goreleaser-action/1.14.0/x64/goreleaser' failed with exit code 2

The log of goreleaser release --snapshot --rm-dist is here:

% goreleaser release --snapshot --rm-dist
  • starting release...
  • loading config file                              file=.goreleaser.yml
  • loading environment variables
  • getting and validating git state
    • building...                                    commit=2c9939c287e19d12fbb6195d286ea654f3479fc8 latest tag=v0.14.1
    • pipe skipped                                   reason=disabled during snapshot mode
  • parsing tag
  • setting defaults
  • running before hooks
    • running                                        hook=go mod download
  • snapshotting
    • building snapshot...                           version=v0.14.1-next
  • checking distribution directory
    • --rm-dist is set, cleaning it up
  • loading go mod information
  • build prerequisites
  • writing effective config file
    • writing                                        config=dist/config.yaml
  • building binaries
    • building                                       binary=dist/reviewdog_windows_arm64/reviewdog.exe
    • building                                       binary=dist/reviewdog_windows_386/reviewdog.exe
    • building                                       binary=dist/reviewdog_darwin_amd64_v1/reviewdog
    • building                                       binary=dist/reviewdog_linux_386/reviewdog
    • building                                       binary=dist/reviewdog_linux_amd64_v1/reviewdog
    • building                                       binary=dist/reviewdog_windows_arm_6/reviewdog.exe
    • building                                       binary=dist/reviewdog_windows_amd64_v1/reviewdog.exe
    • building                                       binary=dist/reviewdog_darwin_arm64/reviewdog
    • building                                       binary=dist/reviewdog_linux_arm_6/reviewdog
    • building                                       binary=dist/reviewdog_linux_arm64/reviewdog
    • took: 1s
  • archives
    • creating                                       archive=dist/reviewdog_v0.14.1-next_Windows_x86_64.tar.gz
    • creating                                       archive=dist/reviewdog_v0.14.1-next_Linux_x86_64.tar.gz
    • creating                                       archive=dist/reviewdog_v0.14.1-next_Darwin_arm64.tar.gz
    • creating                                       archive=dist/reviewdog_v0.14.1-next_Linux_arm64.tar.gz
    • creating                                       archive=dist/reviewdog_v0.14.1-next_Linux_armv6.tar.gz
    • creating                                       archive=dist/reviewdog_v0.14.1-next_Windows_arm64.tar.gz
    • creating                                       archive=dist/reviewdog_v0.14.1-next_Darwin_x86_64.tar.gz
    • creating                                       archive=dist/reviewdog_v0.14.1-next_Windows_i386.tar.gz
    • creating                                       archive=dist/reviewdog_v0.14.1-next_Windows_armv6.tar.gz
    • creating                                       archive=dist/reviewdog_v0.14.1-next_Linux_i386.tar.gz
    • took: 2s
  • calculating checksums
  • homebrew tap formula
    • guessing install to be "bin.install \"reviewdog\""
    • guessing install to be "bin.install \"reviewdog\""
    • guessing install to be "bin.install \"reviewdog\""
    • guessing install to be "bin.install \"reviewdog\""
    • guessing install to be "bin.install \"reviewdog\""
    • writing                                        formula=dist/reviewdog.rb
  • storing release metadata
    • writing                                        file=dist/artifacts.json
    • writing                                        file=dist/metadata.json
  • release succeeded after 3s
  • Updated Unreleased section in CHANGELOG or it's not notable changes.

@shogo82148 shogo82148 merged commit 019204b into master Jun 7, 2023
@shogo82148 shogo82148 deleted the fix-deprecated-configure-of-goreleaser branch June 7, 2023 12:05
@shogo82148
Copy link
Contributor Author

thank you for your review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants