Skip to content

Commit

Permalink
release updates
Browse files Browse the repository at this point in the history
  • Loading branch information
lingrino committed Nov 23, 2024
1 parent 1d09ac0 commit a0ee9b6
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Release
uses: goreleaser/[email protected]
with:
Expand Down
23 changes: 0 additions & 23 deletions .github/workflows/repo-validate.yml

This file was deleted.

12 changes: 6 additions & 6 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable # https://golang.org/dl/
go-version: stable
- name: Docs Check
run: |
before=$(cat docs/cli/*.md | md5sum)
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable # https://golang.org/dl/
go-version: stable
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
Expand All @@ -42,7 +42,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable # https://golang.org/dl/
go-version: stable
- name: Go Mod Tidy
run: test -z $(go mod tidy)
govulncheck:
Expand All @@ -53,7 +53,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable # https://golang.org/dl/
go-version: stable
- name: Install govulncheck
run: go install golang.org/x/vuln/cmd/govulncheck@latest
- name: Run govulncheck
Expand All @@ -66,7 +66,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable # https://golang.org/dl/
go-version: stable
- name: Goreleaser Check
uses: goreleaser/[email protected]
with:
Expand All @@ -79,7 +79,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: stable # https://golang.org/dl/
go-version: stable
- name: Cache Modules
uses: actions/cache@v4
with:
Expand Down
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
run:
timeout: 5m

linters:
enable:
- bodyclose
Expand Down
6 changes: 4 additions & 2 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ brews:
directory: Formula
commit_author:
name: Sean Lingren
email: sean@lingrino.com
email: sean@lingren.com
test: |
system "#{bin}/vaku version"
nfpms:
- id: vaku
description: CLI that extends the official Vault client.
homepage: https://vaku.dev/
maintainer: "Sean Lingren <sean@lingrino.com>"
maintainer: "Sean Lingren <sean@lingren.com>"
license: MIT
formats:
- deb
Expand All @@ -65,4 +65,6 @@ dockers:
build_flag_templates:
- --label=org.opencontainers.image.created={{.Date}}
- --label=org.opencontainers.image.revision={{.FullCommit}}
- --label=org.opencontainers.image.source={{.GitURL}}
- --label=org.opencontainers.image.title={{.ProjectName}}
- --label=org.opencontainers.image.version={{.Version}}
3 changes: 0 additions & 3 deletions .markdownlint.json

This file was deleted.

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 2.8.1 - 2024-11-23

### Changed

- GEN: Update dependencies
- GEN: Update release action

## 2.8.0 - 2024-10-27

### Added
Expand Down
2 changes: 1 addition & 1 deletion api/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package vaku

// Version gives the current Vaku API version.
func Version() string {
return "2.8.0"
return "2.8.1"
}
2 changes: 1 addition & 1 deletion api/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ import (

func TestVersion(t *testing.T) {
t.Parallel()
assert.Equal(t, "2.8.0", Version())
assert.Equal(t, "2.8.1", Version())
}
4 changes: 2 additions & 2 deletions cmd/version_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ func TestVersion(t *testing.T) {
{
name: "version test",
giveVersion: "test",
wantOut: "API: 2.8.0\nCLI: test\n",
wantOut: "API: 2.8.1\nCLI: test\n",
},
{
name: "version version",
giveVersion: "version",
wantOut: "API: 2.8.0\nCLI: version\n",
wantOut: "API: 2.8.1\nCLI: version\n",
},
{
name: "args",
Expand Down

0 comments on commit a0ee9b6

Please sign in to comment.