Skip to content

Commit 3d31242

Browse files
authored
Merge branch 'master' into tvey/set-app-version-from-commit-count
2 parents 2c5df7c + 6854735 commit 3d31242

1 file changed

Lines changed: 0 additions & 24 deletions

File tree

README.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,4 @@ curl -L https://github.com/matveynator/chicha-ip-proxy/releases/latest/download/
3737

3838
👉 [https://github.com/matveynator/chicha-ip-proxy/releases/](https://github.com/matveynator/chicha-ip-proxy/releases/)
3939

40-
All binaries are uploaded to the latest stable release, so every script or wiki snippet that downloads from `/releases/latest/download/` always targets the freshest stable build.
4140

42-
## Stable release automation
43-
44-
* A GitHub Action publishes a new release only when the commit message contains the keyword **"stable release"**.
45-
* Every published artifact embeds the incremental Git commit count as its version, so `./chicha-ip-proxy -version` always shows a predictable build number.
46-
* Release tags follow the `v<commit-count>` pattern, keeping the `/latest` download link consistent for automation and wiki scripts.
47-
* Cross-platform builds are produced for macOS, Linux, Windows, FreeBSD, and OpenBSD on `amd64` and `arm64`.
48-
49-
## Local builds with commit-based versions
50-
51-
Run this command to mirror the CI build locally while stamping the binary with the sequential commit count:
52-
53-
```bash
54-
VERSION=$(git rev-list --count HEAD)
55-
go build -ldflags "-X github.com/matveynator/chicha-ip-proxy/pkg/version.Number=${VERSION}" -o chicha-ip-proxy
56-
```
57-
58-
---
59-
60-
## Quick Summary
61-
62-
* **Linux** → one command, full auto-setup
63-
* **macOS / BSD / Windows** → run with flags manually
64-
* **Fast, minimal, production-ready**

0 commit comments

Comments
 (0)