Skip to content

Commit

Permalink
fix(rpm-release): make readme in project root
Browse files Browse the repository at this point in the history
Also updates the readme to reflect the new repos
  • Loading branch information
Ninja243 committed Oct 2, 2023
1 parent e4345f9 commit 34103ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ jobs:
createrepo .
gpg --detach-sign --armor --default-key "[email protected]" repodata/repomd.xml
gpg --armor --export "[email protected]" > KEY.gpg;
echo -e "[example-repo]\nname=Example Repo\nbaseurl=http://iits-consulting.github.io/rpm-repo/packages\nenabled=1\ngpgcheck=1\ngpgkey=http://iits-consulting.github.io/rpm-repo/KEY.gpg" > example.repo
cd ~
echo -e "[otc-auth_rpm]\nname=otc-auth RPM repo\nbaseurl=http://iits-consulting.github.io/rpm-repo/packages\nenabled=1\ngpgcheck=1\ngpgkey=http://iits-consulting.github.io/rpm-repo/KEY.gpg" > otc-auth.repo
cd ../../
echo -e " # <img src='https://iits-consulting.de/wp-content/uploads/2021/08/iits-logo-2021-red-square-xl.png' width="150"/> otc-auth RPM Repo \n This repo contains .rpm files built from the [latest version of otc-auth](https://github.com/iits-consulting/otc-auth/releases).\n\n ## Usage \n \`\`\`bash \n yum-config-manager --add-repo https://iits-consulting.github.io/rpm-repo.repo \n yum install -y hello-world \n \`\`\`" > README.md;
env:
GPG_PPA_PRIV_KEY: ${{ secrets.GPG_PPA_PRIV_KEY }}
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ This tool can also be used to manage (create) a pair of Access Key/ Secret Key i

* [Demo](#demo)
* [Install](#install)
* [Arch Linux](#arch-linux)
* Usage
* [Login](#login)
* [Service Provider Login (IAM)](#service-provider-login-iam)
Expand All @@ -44,14 +43,14 @@ https://user-images.githubusercontent.com/19291722/208880256-b0da924e-254e-4bc4-

## Install

You can download the binary for your system from
We have repos set up
for [Arch based distros](https://aur.archlinux.org/packages/otc-auth), [Debian based distros](https://github.com/iits-consulting/ppa), [Fedora-based distros](https://github.com/iits-consulting/rpm-repo)
and [Alpine](https://github.com/iits-consulting/apk-repo).

If your package manager isn't listed above, you can also download the binary for your system from
the [releases page](https://github.com/iits-consulting/otc-auth/releases).
Unpack the binary, add it to your PATH and you are good to go!

### Arch Linux

Users of Arch Linux may use the package published in the [AUR](https://aur.archlinux.org/packages/otc-auth)

## Login

Use the `login` command to retrieve an unscoped token either by logging in directly with the Service Provider or through
Expand Down

0 comments on commit 34103ca

Please sign in to comment.