From 8780037a675392d42bcd66931e90840b0ed1e141 Mon Sep 17 00:00:00 2001 From: Kunal Kushwaha Date: Fri, 30 Jan 2026 14:08:33 +0900 Subject: [PATCH 1/2] release prep for v0.5.4 agenticgokit --- go.mod | 2 +- go.sum | 4 ++-- pkg/scaffold/templates/quickstart/go.mod.tmpl | 2 +- pkg/scaffold/templates/workflow/go.mod.tmpl | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 955930f..8b5d966 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.24.1 require ( github.com/BurntSushi/toml v1.5.0 github.com/Masterminds/sprig/v3 v3.3.0 - github.com/agenticgokit/agenticgokit v0.5.3 + github.com/agenticgokit/agenticgokit v0.5.4 github.com/charmbracelet/bubbles v0.21.0 github.com/charmbracelet/bubbletea v1.3.10 github.com/charmbracelet/lipgloss v1.1.0 diff --git a/go.sum b/go.sum index f256da7..ccbebb8 100644 --- a/go.sum +++ b/go.sum @@ -13,8 +13,8 @@ github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERo github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU= github.com/ProtonMail/go-crypto v1.1.6 h1:ZcV+Ropw6Qn0AX9brlQLAUXfqLBc7Bl+f/DmNxpLfdw= github.com/ProtonMail/go-crypto v1.1.6/go.mod h1:rA3QumHc/FZ8pAHreoekgiAbzpNsfQAosU5td4SnOrE= -github.com/agenticgokit/agenticgokit v0.5.3 h1:k9/oSwxJbpCVQCDNPY9yWaXkiCNRsttn2DLQbwcQvXY= -github.com/agenticgokit/agenticgokit v0.5.3/go.mod h1:0EwU951CZIGYwEOLnC5hJbC9lhNvM85FhrL6NTTDIZo= +github.com/agenticgokit/agenticgokit v0.5.4 h1:VCda4r9eOmQ7LZQFib3G9Qs32vV7dgrLNnA/6uDVx+o= +github.com/agenticgokit/agenticgokit v0.5.4/go.mod h1:0EwU951CZIGYwEOLnC5hJbC9lhNvM85FhrL6NTTDIZo= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8= github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4= github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= diff --git a/pkg/scaffold/templates/quickstart/go.mod.tmpl b/pkg/scaffold/templates/quickstart/go.mod.tmpl index b5475c9..0e916e8 100644 --- a/pkg/scaffold/templates/quickstart/go.mod.tmpl +++ b/pkg/scaffold/templates/quickstart/go.mod.tmpl @@ -3,5 +3,5 @@ module github.com/example/{{.ProjectName}} go 1.21 require ( - github.com/agenticgokit/agenticgokit v0.5.3 + github.com/agenticgokit/agenticgokit v0.5.4 ) diff --git a/pkg/scaffold/templates/workflow/go.mod.tmpl b/pkg/scaffold/templates/workflow/go.mod.tmpl index b32187c..57f679c 100644 --- a/pkg/scaffold/templates/workflow/go.mod.tmpl +++ b/pkg/scaffold/templates/workflow/go.mod.tmpl @@ -2,4 +2,4 @@ module {{.ProjectName}} go 1.24.1 -require github.com/agenticgokit/agenticgokit v0.5.3 +require github.com/agenticgokit/agenticgokit v0.5.4 From 6f5edb6f66bbbef4ab666891fb21d32dc05be09e Mon Sep 17 00:00:00 2001 From: Kunal Kushwaha Date: Fri, 30 Jan 2026 15:03:37 +0900 Subject: [PATCH 2/2] ci for relese builds added --- .github/workflows/release.yml | 31 +++++++++++++++++++++++++ .goreleaser.yml | 43 +++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 .github/workflows/release.yml create mode 100644 .goreleaser.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..1b2d11a --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,31 @@ +name: Release + +on: + release: + types: [created] + +permissions: + contents: write + +jobs: + goreleaser: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: stable + + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v6 + with: + distribution: goreleaser + version: latest + args: release --clean + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.goreleaser.yml b/.goreleaser.yml new file mode 100644 index 0000000..c300a47 --- /dev/null +++ b/.goreleaser.yml @@ -0,0 +1,43 @@ +version: 2 + +project_name: agk + +builds: + - env: + - CGO_ENABLED=0 + goos: + - linux + - windows + - darwin + goarch: + - amd64 + - arm64 + binary: agk + ldflags: + - -s -w -X main.version={{.Version}} + +archives: + - format: tar.gz + # this name template makes the archive name compatible with the standard + # Release naming convention + name_template: >- + {{ .ProjectName }}_ + {{- .Version }}_ + {{- .Os }}_ + {{- .Arch }} + format_overrides: + - goos: windows + format: zip + +checksum: + name_template: 'checksums.txt' + +snapshot: + version_template: "{{ .Tag }}-next" + +changelog: + sort: asc + filters: + exclude: + - '^docs:' + - '^test:'