Skip to content

Add release infrastructure and build tooling#1

Merged
simota merged 1 commit into
mainfrom
feature/release-setup
Jan 15, 2026
Merged

Add release infrastructure and build tooling#1
simota merged 1 commit into
mainfrom
feature/release-setup

Conversation

@simota
Copy link
Copy Markdown
Owner

@simota simota commented Jan 15, 2026

Summary

  • Add Makefile for building frontend + Go binary with version info
  • Add GoReleaser config for cross-platform builds (macOS/Linux)
  • Add GitHub Actions workflow for automated releases on tag push
  • Update README with correct installation instructions
  • Embed version/commit/date info via ldflags

Background

go install github.com/simota/devrouter/cmd/devrouter@latest doesn't work because the Web UI frontend assets are not included in the git repository (they need to be built first and embedded via go:embed).

This PR provides alternative installation methods:

  1. GitHub Releases - Download pre-built binaries
  2. make build - Build from source locally

Changes

File Description
Makefile Frontend + Go build with ldflags
.goreleaser.yaml Cross-compile for macOS/Linux (amd64/arm64)
.github/workflows/release.yaml Auto-release on v* tag push
README.md Updated installation instructions
cmd/devrouter/main.go Enhanced version output

Test plan

  • make build succeeds
  • ./devrouter --version displays version info correctly
  • Verify GitHub Actions creates release on tag push

- Add Makefile for building frontend + Go binary
- Add GoReleaser config for automated releases
- Add GitHub Actions workflow for release on tag push
- Update README with correct installation instructions
- Embed version/commit/date info via ldflags
@simota simota merged commit 603e6d8 into main Jan 15, 2026
@simota simota deleted the feature/release-setup branch January 15, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant