Skip to content

Commit

Permalink
Actually release binaries (#522)
Browse files Browse the repository at this point in the history
* actually release binaries

* bump this too while we're here

* kick version forward to see why things are failing w/ a clean slate

* this too y not

* typo

* reference version
  • Loading branch information
jakthom authored Apr 21, 2023
1 parent d712c78 commit 2b76d22
Show file tree
Hide file tree
Showing 11 changed files with 36 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.15.4
v0.15.6
7 changes: 4 additions & 3 deletions .github/workflows/deploy-docker.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Publish Buz image to ghcr.io
name: Publish Container Image

on:
push:
branches: ['main']
branches:
- main

env:
GH_REGISTRY: ghcr.io
Expand All @@ -20,7 +21,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Get Version from file
id: get-version
uses: juliangruber/read-file-action@v1
Expand Down
29 changes: 14 additions & 15 deletions .github/workflows/deploy-schemas.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,19 @@
# name: Publish schemas to registry
name: Publish Schemas to Registry

# on:
# push:
# branches:
# - main

# jobs:
# deploy-schemas:
# runs-on: ubuntu-latest
# permissions:
# contents: read
# id-token: write
# steps:
# - name: Checkout repository
# uses: actions/checkout@v2
on:
push:
branches:
- main

jobs:
deploy-schemas:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout repository
uses: actions/[email protected]
# - name: Auth to GCP
# uses: google-github-actions/auth@v0
# with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: go
name: Go
on:
push:
tags:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: golangci-lint
name: Lint
on:
push:
tags:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Releaser
name: Release

on:
push:
Expand All @@ -13,11 +13,11 @@ jobs:
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3.5.2

- name: Get Version from file
id: get-version
uses: juliangruber/read-file-action@v1
uses: juliangruber/read-file-action@v1.1.6
with:
path: ./.VERSION

Expand All @@ -28,7 +28,7 @@ jobs:
- name: Set Reftag
id: tag-version
uses: mathieudutour/github-tag-action@v6.0
uses: mathieudutour/github-tag-action@v6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: ${{ steps.get-version.outputs.content }}
Expand All @@ -55,16 +55,16 @@ jobs:
goos: windows
steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3.5.2

- name: Get Version from file
id: get-version
uses: juliangruber/read-file-action@v1
uses: juliangruber/read-file-action@v1.1.6
with:
path: ./.VERSION

- name: Release Binaries
uses: wangyoucao577/go-release-action@v1.25
uses: wangyoucao577/go-release-action@v1.37
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.PHONY: help run bootstrap-destinations build-docker buildx-deploy test-cover-pkg
.PHONY: run debug bootstrap bootstrap-destinations build-docker buildx-deploy lint test test-cover-pkg help
S=silverton
REGISTRY:=us-east1-docker.pkg.dev/silverton-io/docker
VERSION:=$(shell cat .VERSION)
BUZ_DIR="./cmd/buz/"
TEST_PROFILE=testprofile.out

build:
go build -ldflags="-X main.VERSION=$(VERSION)" -o build/buz $(BUZ_DIR)
go build -ldflags="-X main.VERSION=$(VERSION)" -o buz $(BUZ_DIR)

run: ## Run buz locally
go run -ldflags="-X 'main.VERSION=x.x.dev'" $(BUZ_DIR)
Expand Down
4 changes: 2 additions & 2 deletions deploy/terraform/aws/lambda/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ variable "buz_domain" {
}

variable "buz_version" {
description = "The version of Buz to run. \n\nExample: v0.15.4"
description = "The version of Buz to run. \n\nExample: v0.15.6"
type = string
default = "v0.15.4"
default = "v0.15.6"
}

variable "buz_lambda_memory_limit" {
Expand Down
2 changes: 1 addition & 1 deletion deploy/terraform/gcp/cloud_run/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ gcp_project = "my-project-23456"
gcp_region = "us-central1"
system = "buz"
buz_domain = "track.yourdomain.com"
buz_version = "v0.15.4"
buz_version = "v0.15.6"
```
4 changes: 2 additions & 2 deletions deploy/terraform/gcp/cloud_run/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ variable "buz_domain" {
}

variable "buz_version" {
description = "The version of Buz to run. \n\nExample: v0.15.4"
description = "The version of Buz to run. \n\nExample: v0.15.6"
type = string
default = "v0.15.4"
default = "v0.15.6"
}

variable "buz_service_timeout_seconds" {
Expand Down
2 changes: 1 addition & 1 deletion examples/quickstart/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ x-dependency:
services:
buz:
container_name: buz
image: ghcr.io/silverton-io/buz:v0.15.4
image: ghcr.io/silverton-io/buz:v0.15.6
volumes:
- type: bind
source: ./buz/quickstart.conf.yml
Expand Down

0 comments on commit 2b76d22

Please sign in to comment.