diff --git a/.goreleaser.yml b/.goreleaser.yml index b8e82785..ad76ab16 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -156,19 +156,17 @@ npms: cloudsmiths: - organization: "task" - repository: "task" + repository: "{{if not .IsNightly}}task{{end}}" formats: - deb - rpm - apk distributions: -# deb: -# - "ubuntu/any-version" -# - "debian/any-version" + deb: + - "any-distro/any-version" rpm: - - "el/any-version" - - "fedora/any-version" + - "any-distro/any-version" alpine: - "alpine/any-version" - component: "{{if .IsNightly}}unstable{{else}}main{{end}}" + component: main republish: true diff --git a/website/src/docs/installation.md b/website/src/docs/installation.md index 3dc9a0e3..5caf7e09 100644 --- a/website/src/docs/installation.md +++ b/website/src/docs/installation.md @@ -8,15 +8,38 @@ outline: deep Task offers many installation methods. Check out the available methods below. -::: info +## Official Package Managers -Some of the methods below are marked as -![Community](https://img.shields.io/badge/Community%20Owned-orange). This means -they are not maintained by the Task team and may not be up-to-date. +These installation methods are maintained by the Task team and are always up-to-date. -::: +### [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} +[[package](https://cloudsmith.io/~task/repos/task/packages/?sort=-format&q=format%3Arpm)] -## Package Managers +If you Set up the repository by running : + +```shell +curl -1sLf 'https://dl.cloudsmith.io/public/task/task/setup.rpm.sh' | sudo -E bash +``` +Then you can install Task with: + +```shell +dnf install task +``` + +### [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} + +[[package](https://cloudsmith.io/~task/repos/task/packages/?sort=-format&q=format%3Adeb)] + +If you Set up the repository by running : + +```shell +curl -1sLf 'https://dl.cloudsmith.io/public/task/task/setup.deb.sh' | sudo -E bash +``` +Then you can install Task with: + +```shell +apt install task +``` ### [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} @@ -36,16 +59,6 @@ by running: brew install go-task ``` -### [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} - -Task repository is tracked by Macports -[[package](https://ports.macports.org/port/go-task/details/)] -[[source](https://github.com/macports/macports-ports/blob/master/devel/go-task/Portfile)]: - -```shell -port install go-task -``` - ### [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} Task is available on [Snapcraft](https://snapcraft.io/task) @@ -68,16 +81,6 @@ dependency of your project npm install -g @go-task/cli ``` -### [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} - -Like npm, pip can be used as a cross-platform way to install Task -[[package](https://pypi.org/project/go-task-bin)] -[[source](https://github.com/Bing-su/pip-binary-factory/tree/main/task)]: - -```shell -pip install go-task-bin -``` - ### [WinGet](https://github.com/microsoft/winget-cli) ![Windows](https://custom-icon-badges.demolab.com/badge/Windows-0078D6?logo=windows11&logoColor=white) {#winget} Task is available via the @@ -88,7 +91,35 @@ Task is available via the winget install Task.Task ``` -### [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} +## Community-Maintained Package Managers + +::: warning Community Maintained + +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. + +::: + +### [Macports](https://macports.org) ![macOS](https://img.shields.io/badge/MacOS-000000?logo=apple&logoColor=F0F0F0) {#macports} + +Task repository is tracked by Macports +[[package](https://ports.macports.org/port/go-task/details/)] +[[source](https://github.com/macports/macports-ports/blob/master/devel/go-task/Portfile)]: + +```shell +port install go-task +``` + +### [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} + +Like npm, pip can be used as a cross-platform way to install Task +[[package](https://pypi.org/project/go-task-bin)] +[[source](https://github.com/Bing-su/pip-binary-factory/tree/main/task)]: + +```shell +pip install go-task-bin +``` + +### [Chocolatey](https://chocolatey.org) ![Windows](https://custom-icon-badges.demolab.com/badge/Windows-0078D6?logo=windows11&logoColor=white) {#chocolatey} [[package](https://community.chocolatey.org/packages/go-task)] [[source](https://github.com/Starz0r/ChocolateyPackagingScripts/blob/master/src/go-task_gh_build.py)] @@ -97,7 +128,7 @@ winget install Task.Task choco install go-task ``` -### [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} +### [Scoop](https://scoop.sh) ![Windows](https://custom-icon-badges.demolab.com/badge/Windows-0078D6?logo=windows11&logoColor=white) {#scoop} [[source](https://github.com/ScoopInstaller/Main/blob/master/bucket/task.json)] @@ -105,7 +136,7 @@ choco install go-task scoop install task ``` -### 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} +### Arch ([pacman](https://wiki.archlinux.org/title/Pacman)) ![Arch Linux](https://img.shields.io/badge/Arch%20Linux-1793D1?logo=arch-linux&logoColor=fff) {#arch} [[package](https://archlinux.org/packages/extra/x86_64/go-task/)] [[source](https://gitlab.archlinux.org/archlinux/packaging/packages/go-task)] @@ -114,7 +145,7 @@ scoop install task pacman -S go-task ``` -### 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} +### 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} [[package](https://packages.fedoraproject.org/pkgs/golang-github-task/go-task/)] [[source](https://src.fedoraproject.org/rpms/golang-github-task)] @@ -123,7 +154,7 @@ pacman -S go-task dnf install go-task ``` -### 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} +### FreeBSD ([Ports](https://ports.freebsd.org/cgi/ports.cgi)) ![FreeBSD](https://img.shields.io/badge/FreeBSD-990000?logo=freebsd&logoColor=fff) {#freebsd} [[package](https://cgit.freebsd.org/ports/tree/devel/task)] [[source](https://cgit.freebsd.org/ports/tree/devel/task/Makefile)] @@ -132,7 +163,7 @@ dnf install go-task pkg install task ``` -### 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} +### 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} [[source](https://github.com/NixOS/nixpkgs/blob/master/pkgs/by-name/go/go-task/package.nix)] @@ -140,7 +171,7 @@ pkg install task nix-env -iA nixpkgs.go-task ``` -### [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} +### [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} [[package](https://pacstall.dev/packages/go-task-deb)] [[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 pacstall -I go-task-deb ``` -### [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} +### [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} [[package](https://pkgx.dev/pkgs/taskfile.dev)] [[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 repo-token: ${{ secrets.GITHUB_TOKEN }} ``` -This installation method is community owned. +::: warning Community Maintained + +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. + +::: ## Build From Source