Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ rep/
│ ├── .goreleaser.yml # Multi-platform release config
│ ├── Dockerfile # Multi-stage, FROM scratch final
│ ├── Makefile
│ ├── VERSION # "0.1.2"
│ ├── version.txt # "0.1.5"
Comment thread
olamide226 marked this conversation as resolved.
Outdated
│ ├── go.mod # Go 1.24.5, zero external deps
│ ├── cmd/rep-gateway/
│ │ └── main.go # Entrypoint: flags, signals, graceful shutdown
Expand Down
2 changes: 1 addition & 1 deletion gateway/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN go mod download
# Copy source and build.
COPY . .
RUN CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build \
-ldflags="-s -w -X main.version=$(cat VERSION 2>/dev/null || echo 0.1.0)" \
-ldflags="-s -w -X main.version=$(cat version.txt 2>/dev/null || echo 0.1.0)" \
-trimpath \
-o /rep-gateway \
./cmd/rep-gateway
Expand Down
2 changes: 1 addition & 1 deletion gateway/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# REP Gateway — Build & development targets.

VERSION ?= $(shell cat VERSION 2>/dev/null || echo "0.1.0-dev")
VERSION ?= $(shell cat version.txt 2>/dev/null || echo "0.1.0-dev")
BINARY := rep-gateway
GOFLAGS := -ldflags="-s -w -X main.version=$(VERSION)" -trimpath

Expand Down
1 change: 0 additions & 1 deletion gateway/VERSION

This file was deleted.

1 change: 1 addition & 0 deletions gateway/version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.5
Comment thread
olamide226 marked this conversation as resolved.
4 changes: 2 additions & 2 deletions release-please-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
"separate-pull-requests": true,
"include-component-in-tag": true,
"tag-separator": "/",
"extra-files": [
"VERSION",
"extra-files": [
Comment thread
olamide226 marked this conversation as resolved.
Outdated
"version.txt",
{
"type": "json",
"path": "/cli/package.json",
Expand Down
Loading