ci: fix aur on arm64 (#1739)

Carlos Alexandro Becker created

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

Change summary

.goreleaser.yml | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)

Detailed changes

.goreleaser.yml 🔗

@@ -152,7 +152,14 @@ aurs:
     conflicts:
       - crush
     package: |-
-      cd "${srcdir}/crush_${pkgver}_Linux_${CARCH}"
+      case "$CARCH" in
+        aarch64)
+          cd "${srcdir}/crush_${pkgver}_Linux_arm64"
+          ;;
+        *)
+          cd "${srcdir}/crush_${pkgver}_Linux_${CARCH}"
+          ;;
+      esac
       # bin
       install -Dm755 "./crush" "${pkgdir}/usr/bin/crush"
       # license