Closed clcollins closed 2 months ago
/lgtm verified with
$ export GITHUB_TOKEN=foo
$ git tag v0.2.1
$ make release
goreleaser check --config .goreleaser.yaml
• checking path=.goreleaser.yaml
• 1 configuration file(s) validated
• thanks for using goreleaser!
goreleaser release --clean --config .goreleaser.yaml --parallelism 4
• starting release...
• loading path=.goreleaser.yaml
• loading environment variables
• using token from $GITHUB_TOKEN
• getting and validating git state
• git state commit=ee4032d6176dc68aa436fa417e7a1f708c80e79c branch=goreleaser_updates current_tag=v0.2.1 previous_tag=v0.2.0 dirty=false
• parsing tag
• setting defaults
• running before hooks
• running hook=go mod tidy
• running hook=go generate ./...
• 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/ocm-container_linux_arm64/ocm-container
• building binary=dist/ocm-container_darwin_amd64_v1/ocm-container
• building binary=dist/ocm-container_darwin_arm64/ocm-container
• building binary=dist/ocm-container_linux_amd64_v1/ocm-container
• took: 6s
• generating changelog
• writing changelog=dist/CHANGELOG.md
• archives
• creating archive=dist/ocm-container_Darwin_x86_64.tar.gz
• creating archive=dist/ocm-container_Darwin_arm64.tar.gz
• creating archive=dist/ocm-container_Linux_x86_64.tar.gz
• creating archive=dist/ocm-container_Linux_arm64.tar.gz
• took: 10s
• calculating checksums
• publishing
• scm releases
• creating or updating release tag=v0.2.1 repo=openshift/ocm-container
• refreshing checksums file=sha256sum.txt
• could not check rate limits, hoping for the best...
• could not check rate limits, hoping for the best...
• took: 1s
• took: 1s
⨯ release failed after 18s error=scm releases: failed to publish artifacts: could not release: POST https://api.github.com/repos/openshift/ocm-container/releases: 401 Bad credentials []
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: clcollins, T0MASD
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Adjusts the goreleaser config to address issues found during previous release attempt.
Signed-off-by: Chris Collins collins.christopher@gmail.com