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

Bump goreleaser to a recent version #433

Merged
merged 2 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
DOCKERHUB_DOCKER_USER: ${{ secrets.DOCKERHUB_USER }}
DOCKERHUB_DOCKER_PASS: ${{ secrets.DOCKERHUB_PASSWORD }}
- uses: replicatedhq/action-install-pact@v1
- run: make can-i-deploy
- run: make can-i-deploy
- name: run goreleaser
run: curl -sL https://git.io/goreleaser | VERSION=v1.6.1 bash
run: curl -sL https://git.io/goreleaser | VERSION=v2.3.2 bash
env:
GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
- run: make record-release
Expand Down
13 changes: 7 additions & 6 deletions .goreleaser.yml → .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
version: 2

project_name: cli
release:
github:
Expand All @@ -6,11 +8,12 @@ release:
brews:
- homepage: https://docs.replicated.com/reference/replicated-cli-installing
description: "Package Replicated applications and manage releases, channels, customers and entitlements using a command-line interface."
tap:
repository:
name: replicatedhq/replicated
owner: replicatedhq
name: homebrew-replicated
folder: HomebrewFormula
branch: main
install: bin.install "replicated"
directory: HomebrewFormula
universal_binaries:
- ids:
- cli
Expand Down Expand Up @@ -47,9 +50,7 @@ archives:
- changelog*
- CHANGELOG*
snapshot:
name_template: SNAPSHOT-{{ .Commit }}
build:
hooks: {}
version_template: SNAPSHOT-{{ .Commit }}
dockers:
- dockerfile: deploy/Dockerfile
image_templates:
Expand Down
Loading