Skip to content

Commit 188834f

Browse files
authored
Merge pull request #39 from YaRissi/fix/version
fix: update release workflow
2 parents f9c3b98 + 51f759c commit 188834f

File tree

4 files changed

+451
-1
lines changed

4 files changed

+451
-1
lines changed

.github/workflows/release-cli.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,8 @@ jobs:
4949
git add internal/version/checker.go
5050
git commit -m "chore: bump version to $TAG"
5151
git push origin v4.x
52+
53+
# Move the tag to point to the new commit with updated version
54+
git tag -d "$TAG" || true
55+
git tag "$TAG"
56+
git push origin "refs/tags/$TAG" --force

.goreleaser.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,18 @@ builds:
2222
- amd64
2323
- arm64
2424
env:
25-
- CGO_ENABLED=0
25+
- CGO_ENABLED=0
26+
27+
checksum:
28+
name_template: checksums.txt
29+
algorithm: sha256
30+
31+
archives:
32+
- id: coolify-archive
33+
ids:
34+
- coolify
35+
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
36+
37+
format_overrides:
38+
- goos: windows
39+
formats: [zip]

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,32 @@
44

55
### Install script (recommended)
66

7+
#### Linux/macOS
8+
79
```bash
810
curl -fsSL https://raw.githubusercontent.com/coollabsio/coolify-cli/main/scripts/install.sh | bash
911
```
1012

1113
It will install the CLI in `/usr/local/bin/coolify` and the configuration file in `~/.config/coolify/config.json`
1214

15+
#### Windows (PowerShell)
16+
17+
```powershell
18+
irm https://raw.githubusercontent.com/coollabsio/coolify-cli/main/scripts/install.ps1 | iex
19+
```
20+
21+
It will install the CLI in `%ProgramFiles%\Coolify\coolify.exe` and the configuration file in `%USERPROFILE%\.config\coolify\config.json`
22+
23+
For user installation (no admin rights required):
24+
```powershell
25+
$env:COOLIFY_USER_INSTALL=1; irm https://raw.githubusercontent.com/coollabsio/coolify-cli/main/scripts/install.ps1 | iex
26+
```
27+
28+
For a specific version:
29+
```powershell
30+
$env:COOLIFY_VERSION='v1.0.0'; irm https://raw.githubusercontent.com/coollabsio/coolify-cli/main/scripts/install.ps1 | iex
31+
```
32+
1333
### Using `go install`
1434
1535
```bash

0 commit comments

Comments
 (0)