From b5e451b22582b16f7334b39ff42050cb4e280ba4 Mon Sep 17 00:00:00 2001 From: "Sean E. Russell" Date: Mon, 2 Mar 2020 08:59:36 -0600 Subject: [PATCH] Automate (mostly) AUR updates --- .github/workflows/release.yml | 8 ++++++++ docs/releasing.md | 21 --------------------- 2 files changed, 8 insertions(+), 21 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b30ce45..7b1d045 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,3 +24,11 @@ jobs: repository: xxxserxxx/homebrew-gotop event-type: my-event client-payload: '{"tag": "${{ steps.tag_name.outputs.tag }}"}' + + - name: Update Arch AURs + uses: peter-evans/repository-dispatch@v1 + with: + token: ${{ secrets.REPO_ACCESS_TOKEN }} + repository: xxxserxxx/gotop-linux + event-type: my-event + client-payload: '{"tag": "${{ steps.tag_name.outputs.tag }}"}' diff --git a/docs/releasing.md b/docs/releasing.md index 540c950..622f561 100644 --- a/docs/releasing.md +++ b/docs/releasing.md @@ -14,24 +14,3 @@ Current steps for a release: curl --output - -L https://github.com/xxxserxxx/gotop/releases/download/v3.3.2/gotop_3.3.2_linux_amd64.tgz | sha256sum curl --output - -L https://github.com/xxxserxxx/gotop/releases/download/v3.3.2/gotop_3.3.2_darwin_amd64.tgz | sha256sum ``` - -### AUR -1. Update aur/PKGBUILD -2. namcap PKGBUILD -3. makepkg -4. makepkg -g -5. makepkg --printsrcinfo \> .SRCINFO -6. Commit everything -7. push -``` -curl -L https://github.com/xxxserxxx/gotop/archive/v3.3.2.tar.gz | sha256sum -``` - -### AUR-BIN -1. Update aur-bin/PKGBUILD -2. namcap PKGBUILD -3. makepkg -4. makepkg -g -5. makepkg --printsrcinfo \> .SRCINFO -6. Commit everything -7. push aur-bin