From 3a5b6725586486d58bc150abe310d6693b3a8bd8 Mon Sep 17 00:00:00 2001 From: ofer Date: Wed, 20 Nov 2024 15:16:39 -0800 Subject: [PATCH] Fix template naming and update README --- .goreleaser.yaml | 1 - README.md | 36 ++++++++++++++++++++++++++++++++++-- 2 files changed, 34 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index ab271bd1..82c96e30 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -37,7 +37,6 @@ archives: nfpms: - id: packages - file_name_template: "{{ .ConventionalFileName }}" vendor: "Aviator" homepage: "https://aviator.co" maintainer: "Masaya Suzuki " diff --git a/README.md b/README.md index f23b73ec..3f3c811f 100644 --- a/README.md +++ b/README.md @@ -136,15 +136,47 @@ yay av-cli ## Debian/Ubuntu -Download the `.deb` file from the [releases page](https://github.com/aviator-co/av/releases). +Add Aviator to your APT repositories. + +```sh +echo "deb [trusted=yes] https://apt.fury.io/aviator/ /" > \ +/etc/apt/sources.list.d/fury.list +``` +And then apt install. +```sh +sudo apt update +sudo apt install av +``` + +### Alternatively +If you'd prefer you can download the `.deb` file from the [releases page](https://github.com/aviator-co/av/releases). ```sh apt install ./av_$VERSION_linux_$ARCH.deb ``` ## RPM-based systems +Add the following file `/etc/yum.repos.d/fury.repo`. +```conf +[fury] +name=Gemfury Private Repo +baseurl=https://yum.fury.io/aviator/ +enabled=1 +gpgcheck=0 +``` + +Run the following command to confirm the configuration is working. +```sh +yum --disablerepo=* --enablerepo=fury list available +``` + +And then run yum install. +```sh +sudo yum install av +``` -Download the `.rpm` file from the [releases page](https://github.com/aviator-co/av/releases). +### Alternatively +If you'd prefer you can download the `.rpm` file from the [releases page](https://github.com/aviator-co/av/releases). ```sh rpm -i ./av_$VERSION_linux_$ARCH.rpm