Skip to content

Commit 51a3bca

Browse files
authored
fix: cloudsmith and add docs (#2383)
1 parent 6289fcf commit 51a3bca

File tree

2 files changed

+75
-42
lines changed

2 files changed

+75
-42
lines changed

.goreleaser.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -156,19 +156,17 @@ npms:
156156

157157
cloudsmiths:
158158
- organization: "task"
159-
repository: "task"
159+
repository: "{{if not .IsNightly}}task{{end}}"
160160
formats:
161161
- deb
162162
- rpm
163163
- apk
164164
distributions:
165-
# deb:
166-
# - "ubuntu/any-version"
167-
# - "debian/any-version"
165+
deb:
166+
- "any-distro/any-version"
168167
rpm:
169-
- "el/any-version"
170-
- "fedora/any-version"
168+
- "any-distro/any-version"
171169
alpine:
172170
- "alpine/any-version"
173-
component: "{{if .IsNightly}}unstable{{else}}main{{end}}"
171+
component: main
174172
republish: true

website/src/docs/installation.md

Lines changed: 70 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,38 @@ outline: deep
88

99
Task offers many installation methods. Check out the available methods below.
1010

11-
::: info
11+
## Official Package Managers
1212

13-
Some of the methods below are marked as
14-
![Community](https://img.shields.io/badge/Community%20Owned-orange). This means
15-
they are not maintained by the Task team and may not be up-to-date.
13+
These installation methods are maintained by the Task team and are always up-to-date.
1614

17-
:::
15+
### [dnf](https://docs.fedoraproject.org/en-US/quick-docs/dnf) ![Fedora](https://img.shields.io/badge/Fedora-51A2DA?logo=fedora&logoColor=fff) ![CentOS](https://img.shields.io/badge/CentOS-002260?logo=centos&logoColor=F0F0F0) ![Fedora](https://img.shields.io/badge/Red_Hat-EE0000?logo=redhat&logoColor=white) {#dnf}
16+
[[package](https://cloudsmith.io/~task/repos/task/packages/?sort=-format&q=format%3Arpm)]
17+
18+
If you Set up the repository by running :
19+
20+
```shell
21+
curl -1sLf 'https://dl.cloudsmith.io/public/task/task/setup.rpm.sh' | sudo -E bash
22+
```
23+
Then you can install Task with:
24+
25+
```shell
26+
dnf install task
27+
```
1828

19-
## Package Managers
29+
### [apt](https://doc.ubuntu-fr.org/apt) ![Ubuntu](https://img.shields.io/badge/Ubuntu-E95420?logo=Ubuntu&logoColor=white) ![Debian](https://img.shields.io/badge/debian-red?logo=debian&logoColor=orange&color=darkred) ![Linux Mint](https://img.shields.io/badge/Linux%20Mint-87CF3E?logo=linuxmint&logoColor=fff) {#apt}
30+
31+
[[package](https://cloudsmith.io/~task/repos/task/packages/?sort=-format&q=format%3Adeb)]
32+
33+
If you Set up the repository by running :
34+
35+
```shell
36+
curl -1sLf 'https://dl.cloudsmith.io/public/task/task/setup.deb.sh' | sudo -E bash
37+
```
38+
Then you can install Task with:
39+
40+
```shell
41+
apt install task
42+
```
2043

2144
### [Homebrew](https://brew.sh) ![macOS](https://img.shields.io/badge/MacOS-000000?logo=apple&logoColor=F0F0F0) ![Linux](https://img.shields.io/badge/Linux-FCC624?logo=linux&logoColor=black) {#homebrew}
2245

@@ -36,16 +59,6 @@ by running:
3659
brew install go-task
3760
```
3861

39-
### [Macports](https://macports.org) ![macOS](https://img.shields.io/badge/MacOS-000000?logo=apple&logoColor=F0F0F0) ![Community](https://img.shields.io/badge/Community%20Owned-orange) {#macports}
40-
41-
Task repository is tracked by Macports
42-
[[package](https://ports.macports.org/port/go-task/details/)]
43-
[[source](https://github.com/macports/macports-ports/blob/master/devel/go-task/Portfile)]:
44-
45-
```shell
46-
port install go-task
47-
```
48-
4962
### [Snap](https://snapcraft.io/task) ![macOS](https://img.shields.io/badge/MacOS-000000?logo=apple&logoColor=F0F0F0) ![Linux](https://img.shields.io/badge/Linux-FCC624?logo=linux&logoColor=black) {#snap}
5063

5164
Task is available on [Snapcraft](https://snapcraft.io/task)
@@ -68,16 +81,6 @@ dependency of your project
6881
npm install -g @go-task/cli
6982
```
7083

71-
### [pip](https://pip.pypa.io) ![macOS](https://img.shields.io/badge/MacOS-000000?logo=apple&logoColor=F0F0F0) ![Linux](https://img.shields.io/badge/Linux-FCC624?logo=linux&logoColor=black) ![Windows](https://custom-icon-badges.demolab.com/badge/Windows-0078D6?logo=windows11&logoColor=white) ![Community](https://img.shields.io/badge/Community%20Owned-orange) {#pip}
72-
73-
Like npm, pip can be used as a cross-platform way to install Task
74-
[[package](https://pypi.org/project/go-task-bin)]
75-
[[source](https://github.com/Bing-su/pip-binary-factory/tree/main/task)]:
76-
77-
```shell
78-
pip install go-task-bin
79-
```
80-
8184
### [WinGet](https://github.com/microsoft/winget-cli) ![Windows](https://custom-icon-badges.demolab.com/badge/Windows-0078D6?logo=windows11&logoColor=white) {#winget}
8285

8386
Task is available via the
@@ -88,7 +91,35 @@ Task is available via the
8891
winget install Task.Task
8992
```
9093

91-
### [Chocolatey](https://chocolatey.org) ![Windows](https://custom-icon-badges.demolab.com/badge/Windows-0078D6?logo=windows11&logoColor=white) ![Community](https://img.shields.io/badge/Community%20Owned-orange) {#chocolatey}
94+
## Community-Maintained Package Managers
95+
96+
::: warning Community Maintained
97+
98+
These installation methods are maintained by the community and may not always be up-to-date with the latest Task version. The Task team does not directly control these packages.
99+
100+
:::
101+
102+
### [Macports](https://macports.org) ![macOS](https://img.shields.io/badge/MacOS-000000?logo=apple&logoColor=F0F0F0) {#macports}
103+
104+
Task repository is tracked by Macports
105+
[[package](https://ports.macports.org/port/go-task/details/)]
106+
[[source](https://github.com/macports/macports-ports/blob/master/devel/go-task/Portfile)]:
107+
108+
```shell
109+
port install go-task
110+
```
111+
112+
### [pip](https://pip.pypa.io) ![macOS](https://img.shields.io/badge/MacOS-000000?logo=apple&logoColor=F0F0F0) ![Linux](https://img.shields.io/badge/Linux-FCC624?logo=linux&logoColor=black) ![Windows](https://custom-icon-badges.demolab.com/badge/Windows-0078D6?logo=windows11&logoColor=white) {#pip}
113+
114+
Like npm, pip can be used as a cross-platform way to install Task
115+
[[package](https://pypi.org/project/go-task-bin)]
116+
[[source](https://github.com/Bing-su/pip-binary-factory/tree/main/task)]:
117+
118+
```shell
119+
pip install go-task-bin
120+
```
121+
122+
### [Chocolatey](https://chocolatey.org) ![Windows](https://custom-icon-badges.demolab.com/badge/Windows-0078D6?logo=windows11&logoColor=white) {#chocolatey}
92123

93124
[[package](https://community.chocolatey.org/packages/go-task)]
94125
[[source](https://github.com/Starz0r/ChocolateyPackagingScripts/blob/master/src/go-task_gh_build.py)]
@@ -97,15 +128,15 @@ winget install Task.Task
97128
choco install go-task
98129
```
99130

100-
### [Scoop](https://scoop.sh) ![Windows](https://custom-icon-badges.demolab.com/badge/Windows-0078D6?logo=windows11&logoColor=white) ![Community](https://img.shields.io/badge/Community%20Owned-orange) {#scoop}
131+
### [Scoop](https://scoop.sh) ![Windows](https://custom-icon-badges.demolab.com/badge/Windows-0078D6?logo=windows11&logoColor=white) {#scoop}
101132

102133
[[source](https://github.com/ScoopInstaller/Main/blob/master/bucket/task.json)]
103134

104135
```shell
105136
scoop install task
106137
```
107138

108-
### Arch ([pacman](https://wiki.archlinux.org/title/Pacman)) ![Arch Linux](https://img.shields.io/badge/Arch%20Linux-1793D1?logo=arch-linux&logoColor=fff) ![Community](https://img.shields.io/badge/Community%20Owned-orange) {#arch}
139+
### Arch ([pacman](https://wiki.archlinux.org/title/Pacman)) ![Arch Linux](https://img.shields.io/badge/Arch%20Linux-1793D1?logo=arch-linux&logoColor=fff) {#arch}
109140

110141
[[package](https://archlinux.org/packages/extra/x86_64/go-task/)]
111142
[[source](https://gitlab.archlinux.org/archlinux/packaging/packages/go-task)]
@@ -114,7 +145,7 @@ scoop install task
114145
pacman -S go-task
115146
```
116147

117-
### Fedora ([dnf](https://docs.fedoraproject.org/en-US/quick-docs/dnf)) ![Fedora](https://img.shields.io/badge/Fedora-51A2DA?logo=fedora&logoColor=fff) ![Community](https://img.shields.io/badge/Community%20Owned-orange) {#fedora}
148+
### Fedora ([dnf](https://docs.fedoraproject.org/en-US/quick-docs/dnf)) ![Fedora](https://img.shields.io/badge/Fedora-51A2DA?logo=fedora&logoColor=fff) {#fedora-community}
118149

119150
[[package](https://packages.fedoraproject.org/pkgs/golang-github-task/go-task/)]
120151
[[source](https://src.fedoraproject.org/rpms/golang-github-task)]
@@ -123,7 +154,7 @@ pacman -S go-task
123154
dnf install go-task
124155
```
125156

126-
### FreeBSD ([Ports](https://ports.freebsd.org/cgi/ports.cgi)) ![FreeBSD](https://img.shields.io/badge/FreeBSD-990000?logo=freebsd&logoColor=fff) ![Community](https://img.shields.io/badge/Community%20Owned-orange) {#freebsd}
157+
### FreeBSD ([Ports](https://ports.freebsd.org/cgi/ports.cgi)) ![FreeBSD](https://img.shields.io/badge/FreeBSD-990000?logo=freebsd&logoColor=fff) {#freebsd}
127158

128159
[[package](https://cgit.freebsd.org/ports/tree/devel/task)]
129160
[[source](https://cgit.freebsd.org/ports/tree/devel/task/Makefile)]
@@ -132,15 +163,15 @@ dnf install go-task
132163
pkg install task
133164
```
134165

135-
### NixOS ([nix](https://nixos.org)) ![NixOS](https://img.shields.io/badge/NixOS-5277C3?logo=nixos&logoColor=fff) ![Linux](https://img.shields.io/badge/Linux-FCC624?logo=linux&logoColor=black) ![Community](https://img.shields.io/badge/Community%20Owned-orange) {#nix}
166+
### NixOS ([nix](https://nixos.org)) ![NixOS](https://img.shields.io/badge/NixOS-5277C3?logo=nixos&logoColor=fff) ![Linux](https://img.shields.io/badge/Linux-FCC624?logo=linux&logoColor=black) {#nix}
136167

137168
[[source](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/go/go-task/package.nix)]
138169

139170
```shell
140171
nix-env -iA nixpkgs.go-task
141172
```
142173

143-
### [pacstall](https://github.com/pacstall/pacstall) ![Debian](https://img.shields.io/badge/Debian-A81D33?logo=debian&logoColor=fff) ![Ubuntu](https://img.shields.io/badge/Ubuntu-E95420?logo=ubuntu&logoColor=fff) ![Community](https://img.shields.io/badge/Community%20Owned-orange) {#pacstall}
174+
### [pacstall](https://github.com/pacstall/pacstall) ![Debian](https://img.shields.io/badge/Debian-A81D33?logo=debian&logoColor=fff) ![Ubuntu](https://img.shields.io/badge/Ubuntu-E95420?logo=ubuntu&logoColor=fff) {#pacstall}
144175

145176
[[package](https://pacstall.dev/packages/go-task-deb)]
146177
[[source](https://github.com/pacstall/pacstall-programs/blob/master/packages/go-task-deb/go-task-deb.pacscript)]
@@ -149,7 +180,7 @@ nix-env -iA nixpkgs.go-task
149180
pacstall -I go-task-deb
150181
```
151182

152-
### [pkgx](https://pkgx.sh) ![macOS](https://img.shields.io/badge/MacOS-000000?logo=apple&logoColor=F0F0F0) ![Linux](https://img.shields.io/badge/Linux-FCC624?logo=linux&logoColor=black) ![Community](https://img.shields.io/badge/Community%20Owned-orange) {#pkgx}
183+
### [pkgx](https://pkgx.sh) ![macOS](https://img.shields.io/badge/MacOS-000000?logo=apple&logoColor=F0F0F0) ![Linux](https://img.shields.io/badge/Linux-FCC624?logo=linux&logoColor=black) {#pkgx}
153184

154185
[[package](https://pkgx.dev/pkgs/taskfile.dev)]
155186
[[source](https://github.com/pkgxdev/pantry/blob/main/projects/taskfile.dev/package.yml)]
@@ -233,7 +264,11 @@ If you want to install Task in GitHub Actions you can try using
233264
repo-token: ${{ secrets.GITHUB_TOKEN }}
234265
```
235266
236-
This installation method is community owned.
267+
::: warning Community Maintained
268+
269+
These installation methods are maintained by the community and may not always be up-to-date with the latest Task version. The Task team does not directly control these packages.
270+
271+
:::
237272
238273
## Build From Source
239274

0 commit comments

Comments
 (0)