2026-07-11 17:47:26 +02:00
|
|
|
---
|
|
|
|
|
title: Installation
|
|
|
|
|
weight: 10
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
## Pre-built binaries
|
|
|
|
|
|
2026-07-11 23:57:02 +02:00
|
|
|
Download the latest release for your platform from the [Releases page](https://git.k3nny.fr/k3nny/releaser/releases).
|
2026-07-11 17:47:26 +02:00
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
# Linux (amd64)
|
2026-07-11 23:57:02 +02:00
|
|
|
curl -sSL https://git.k3nny.fr/k3nny/releaser/releases/download/v1.5.0/releaser-v1.5.0-linux-amd64 \
|
2026-07-11 17:47:26 +02:00
|
|
|
-o /usr/local/bin/releaser
|
|
|
|
|
chmod +x /usr/local/bin/releaser
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Available platforms: `linux-amd64`, `linux-arm64`, `darwin-amd64`, `darwin-arm64`, `windows-amd64.exe`.
|
|
|
|
|
|
|
|
|
|
## Docker
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-07-11 23:57:02 +02:00
|
|
|
docker pull git.k3nny.fr/k3nny/releaser/releaser:latest
|
2026-07-11 17:47:26 +02:00
|
|
|
|
|
|
|
|
# Run in the current repository
|
|
|
|
|
docker run --rm \
|
|
|
|
|
-v "$PWD:/repo" \
|
|
|
|
|
-e GITLAB_TOKEN="$GITLAB_TOKEN" \
|
2026-07-11 23:57:02 +02:00
|
|
|
git.k3nny.fr/k3nny/releaser/releaser:latest
|
2026-07-11 17:47:26 +02:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Build from source
|
|
|
|
|
|
|
|
|
|
Requires Go 1.21+.
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-07-11 23:57:02 +02:00
|
|
|
git clone https://git.k3nny.fr/k3nny/releaser/releaser.git
|
2026-07-11 17:47:26 +02:00
|
|
|
cd releaser
|
|
|
|
|
go build -o /usr/local/bin/releaser ./cmd
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## Verify
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
releaser --version
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## First run
|
|
|
|
|
|
|
|
|
|
Scaffold a default `.releaser.yml` in your repository root:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
releaser --init
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Then do a dry run to check the version that would be produced:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
releaser --dry-run
|
|
|
|
|
```
|