Skip to content

Commit ce623fd

Browse files
committed
chore: bump version to 0.0.55 and configure goreleaser
- Add dist/ to .gitignore - Configure .goreleaser.yaml for CGO and sqlite_fts5 builds - Synchronize and bump version to 0.0.55 across Makefile, package.json, package-lock.json, and internal Go constants - Rebuild embedded static frontend assets
1 parent 40b60d8 commit ce623fd

9 files changed

Lines changed: 53 additions & 8 deletions

File tree

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
bin/
33

44
# Generated frontend build output
5+
dist/
56
web/
67
frontend/dist/
78

‎.goreleaser.yaml‎

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
version: 2
2+
3+
before:
4+
hooks:
5+
- make frontend
6+
- go mod tidy
7+
8+
builds:
9+
- id: iql
10+
main: ./cmd/iql
11+
binary: iql
12+
env:
13+
- CGO_ENABLED=1
14+
flags:
15+
- -tags=sqlite_fts5
16+
ldflags:
17+
- -s -w
18+
- -X github.com/user/inboxql/internal/cli.Version={{.Version}}
19+
goos:
20+
- darwin
21+
goarch:
22+
- arm64
23+
- amd64
24+
25+
archives:
26+
- formats: [tar.gz]
27+
name_template: >-
28+
{{ .ProjectName }}_
29+
{{- title .Os }}_
30+
{{- if eq .Arch "amd64" }}x86_64
31+
{{- else }}{{ .Arch }}{{ end }}
32+
33+
changelog:
34+
sort: asc
35+
filters:
36+
exclude:
37+
- "^docs:"
38+
- "^test:"
39+
- "^chore:"
40+
41+
release:
42+
footer: >-
43+
---
44+
Released by [GoReleaser](https://github.com/goreleaser/goreleaser).

‎Makefile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ frontend:
1616
mkdir -p internal/embed/static
1717
cp -r frontend/dist/* internal/embed/static/
1818

19-
VERSION ?= $(shell node -p "require('./frontend/package.json').version" 2>/dev/null || echo "0.0.54")
19+
VERSION ?= $(shell node -p "require('./frontend/package.json').version" 2>/dev/null || echo "0.0.55")
2020
LDFLAGS := -X github.com/user/inboxql/internal/cli.Version=$(VERSION)
2121

2222
# FTS5 is a compile-time option in mattn/go-sqlite3, not a runtime one. Without

‎frontend/package-lock.json‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎frontend/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "inboxql",
33
"private": true,
4-
"version": "0.0.54",
4+
"version": "0.0.55",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

‎internal/api/api.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ type VersionInfo struct {
207207
}
208208

209209
var currentVersionInfo = VersionInfo{
210-
Version: "0.0.53",
210+
Version: "0.0.55",
211211
}
212212

213213
// SetVersionInfo sets the version metadata served at /api/version.

‎internal/cli/serve.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
// Version is the release version, overridable at build time with
2424
//
2525
// go build -ldflags "-X github.com/user/inboxql/internal/cli.Version=1.2.3"
26-
var Version = "0.0.54"
26+
var Version = "0.0.55"
2727

2828
func init() {
2929
register(&Command{

internal/embed/static/assets/index-vSMqIbjy.js renamed to internal/embed/static/assets/index-CgVKrKSK.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎internal/embed/static/index.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>InboxQL — Email for Engineers</title>
8-
<script type="module" crossorigin src="/assets/index-vSMqIbjy.js"></script>
8+
<script type="module" crossorigin src="/assets/index-CgVKrKSK.js"></script>
99
<link rel="stylesheet" crossorigin href="/assets/index-BD3zd2S8.css">
1010
</head>
1111
<body>

0 commit comments

Comments
 (0)