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 goreleaser build and update dependencies #54

Merged
merged 6 commits into from
Sep 11, 2024

Conversation

bbyers-apptio
Copy link
Collaborator

@bbyers-apptio bbyers-apptio commented Jun 20, 2024

Changes:

First of a few PRs. Going to:

  • add changelog
  • add a threading flag
    in other PRs.

Testing:

❯ goreleaser --version
  ____       ____      _
 / ___| ___ |  _ \ ___| | ___  __ _ ___  ___ _ __
| |  _ / _ \| |_) / _ \ |/ _ \/ _` / __|/ _ \ '__|
| |_| | (_) |  _ <  __/ |  __/ (_| \__ \  __/ |
 \____|\___/|_| \_\___|_|\___|\__,_|___/\___|_|
goreleaser: Deliver Go Binaries as fast and easily as possible
https://goreleaser.com

GitVersion:    2.0.1
GitCommit:     684c1805864e5f29acc204e34e1770eb74918d15
GitTreeState:  clean
BuildDate:     2024-06-11T01:45:52
BuiltBy:       homebrew
GoVersion:     go1.22.4
Compiler:      gc
ModuleSum:     unknown
Platform:      linux/amd64
❯ 
❯ goreleaser check
  • checking                                 path=.goreleaser.yml
  • 1 configuration file(s) validated
  • thanks for using goreleaser!
❯  
❯ task build
task: [build] go build
❯ 
❯ task build-snapshot
task: [build-snapshot] goreleaser release --snapshot --clean --skip=homebrew,docker
  • starting release...
  • loading                                          path=.goreleaser.yml
  • skipping announce, docker, homebrew, publish and validate...
  • loading environment variables
  • getting and validating git state
    • git state                                      commit=df276ae0001e350357c506a1828af1ebcb059e57 branch=fix-goreleaser-build current_tag=v0.3.4 previous_tag=v0.3.3 dirty=false
    • pipe skipped                                   reason=disabled during snapshot mode
  • parsing tag
  • setting defaults
  • snapshotting
    • building snapshot...                           version=SNAPSHOT-df276ae0001e350357c506a1828af1ebcb059e57
  • running before hooks
    • running                                        hook=go mod download
  • checking distribution directory
    • cleaning dist
  • setting up metadata
  • storing release metadata
    • writing                                        file=dist/metadata.json
  • loading go mod information
  • build prerequisites
  • writing effective config file
    • writing                                        config=dist/config.yaml
  • building binaries
    • building                                       binary=dist/kr8_darwin_amd64_v1/kr8
    • building                                       binary=dist/kr8_linux_amd64_v1/kr8
    • took: 1s
  • archives
    • creating                                       archive=dist/kr8_SNAPSHOT-df276ae0001e350357c506a1828af1ebcb059e57_darwin_amd64.tar.gz
    • creating                                       archive=dist/kr8_SNAPSHOT-df276ae0001e350357c506a1828af1ebcb059e57_linux_amd64.tar.gz
    • no files matched                               glob=CHANGELOG*
    • no files matched                               glob=CHANGELOG*
    • took: 3s
  • linux packages
    • creating                                       package=kr8 format=deb arch=amd64v1 file=dist/kr8_SNAPSHOT-df276ae0001e350357c506a1828af1ebcb059e57_linux_amd64.deb
    • creating                                       package=kr8 format=rpm arch=amd64v1 file=dist/kr8_SNAPSHOT-df276ae0001e350357c506a1828af1ebcb059e57_linux_amd64.rpm
    • took: 1s
  • calculating checksums
  • storing artifacts metadata
    • writing                                        file=dist/artifacts.json
  • release succeeded after 4s
  • thanks for using goreleaser!

@bbyers-apptio bbyers-apptio marked this pull request as ready for review June 20, 2024 22:06
@bbyers-apptio bbyers-apptio changed the title Fix goreleaser build and add some build tasks Fix goreleaser build and update dependencies Jun 20, 2024
@bbyers-apptio bbyers-apptio merged commit 5fde2b5 into apptio:master Sep 11, 2024
@bbyers-apptio bbyers-apptio deleted the fix-goreleaser-build branch September 11, 2024 16:48
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.

3 participants