Builds both binaries for 5 platforms: linux/amd64, linux/arm64, darwin/amd64, darwin/arm64, windows/amd64
Embeds version, commit SHA, and build date via ldflags
Creates a Gitea Release with all 10 binaries + checksums.txt attached
Usage
# Trigger a release
make release-version # bumps patch tag and pushes — Actions handles the rest# or manually:
git tag v1.2.3 -m "Release v1.2.3"
git push origin v1.2.3
## What this adds
### `.gitea/workflows/ci.yml`
Runs on every push and PR:
- `go test ./...`
- Build check for `amcs-server` and `amcs-cli`
### `.gitea/workflows/release.yml`
Triggers on `v*.*.*` tags:
- Builds both binaries for 5 platforms: `linux/amd64`, `linux/arm64`, `darwin/amd64`, `darwin/arm64`, `windows/amd64`
- Embeds version, commit SHA, and build date via ldflags
- Creates a Gitea Release with all 10 binaries + `checksums.txt` attached
## Usage
```bash
# Trigger a release
make release-version # bumps patch tag and pushes — Actions handles the rest
# or manually:
git tag v1.2.3 -m "Release v1.2.3"
git push origin v1.2.3
```
- .gitea/workflows/ci.yml: build + test on every push and PR
- .gitea/workflows/release.yml: cross-platform release binaries on v*.*.* tags
- Builds amcs-server and amcs-cli for linux/amd64, linux/arm64, darwin/amd64, darwin/arm64, windows/amd64
- Embeds version, commit, and build date via ldflags
- Creates Gitea Release with all binaries and checksums.txt attached
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
What this adds
.gitea/workflows/ci.ymlRuns on every push and PR:
go test ./...amcs-serverandamcs-cli.gitea/workflows/release.ymlTriggers on
v*.*.*tags:linux/amd64,linux/arm64,darwin/amd64,darwin/arm64,windows/amd64checksums.txtattachedUsage