tofuutils / tenv

OpenTofu / Terraform / Terragrunt and Atmos version manager
https://tofuutils.github.io/tenv/
Apache License 2.0
662 stars 32 forks source link

Create github pipeline that will update version/hash for Apline (GitHub) and AUR (Git) #154

Open kvendingoldo opened 4 months ago

kvendingoldo commented 4 months ago

Is your feature request related to a problem? Please describe. At this moment Apline/AUR updates are manual. Please, add github action pipeline that will do that automatically

kvendingoldo commented 3 months ago

GoReleaser V2 support AUR:

Arch User Repository Support (aka AUR)

kvendingoldo commented 3 months ago

@clee231 you have originally created tenv-bin. Do you want to be a main maintainer of this package? If so, I will add you to a list of maintainers/contributors.

kvendingoldo commented 3 months ago

@clee231 I've pushed the change to goreleaser and it updated the package. Do you have a chance to test it on Arch?

clee231 commented 3 months ago

@kvendingoldo - I'd be happy to be a maintainer. I haven't done much go programming, but I'm willing to learn more.

Looks like the updates to go-releaser was merged in, so I'll disable my other management repo now. Thanks!

clee231 commented 3 months ago

@clee231 I've pushed the change to goreleaser and it updated the package. Do you have a chance to test it on Arch?

Did a quick test and attempted to install the latest version (v2.1.1-1) image

Looks like the current PKGBUILD only supports aarch64 and i686 architectures. I also noticed that the PKGBUILD references the arm64 release for a aarch64 architecture. If I'm understanding this correctly, this is the same architecture. I think arm64 is the more common name used in the Linux kernel. It looks like we are releasing builds only for arm64, armv6, i386, and x86_64, so we should support those architectures in the AUR package too.

kvendingoldo commented 3 months ago

Will check goreleaser settings, and fix it tomorrow. Thank you for notice