Commit Graph
19 Commits
Author SHA1 Message Date
Jaël GareauandGitHub 9b0587b951 build(goreleaser): generate/publish AUR package (#32666)
**Description**
<!--
Please include a summary of the change and which issue is fixed. Please
also include relevant motivation and context. List any dependencies that
are required for this change.
-->
This PR modifies the `.goreleaser.yaml` file such that a PKGBUILD file
for AUR deployment of clustertool is automatically generated and
published. I followed the [AUR GoReleaser
Documentation](https://goreleaser.com/customization/aur/).

The `version_template` key is unsupported in modern versions of
goreleaser, so I also replaced that key by `name_template`.

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code
- [ ] 📜 Documentation Changes

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->
- I ran `goreleaser release --snapshot --clean`: no errors / warnings
- I ran `namcap -i PKGBUILD` on the newly generated file: no errors.

**📃 Notes:**
<!-- Please enter any other relevant information here -->
Unfortunately, the [`metadata`
section](https://goreleaser.com/customization/metadata/) of the
`.goreleaser.yaml` file can only be used when using the pro version, so
I had to duplicate some variables (maintainer, homepage, description,
license) between the `aurs` and the `nfpms` sections.

The previous description was a bit too generic for the AUR, so I changed
it to make the package more easily understood.

**✔️ Checklist:**

- [x] ⚖️ My code follows the style guidelines of this project
- [x] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made changes to the documentation
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning
- [ ] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or
`fix(docs):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
2025-02-28 09:58:12 +01:00
Kjeld Schouten 9dd13f9c6e fix(clustertool): try adjusting goreleaser version shizzle again 2024-10-24 17:50:41 +02:00
Kjeld Schouten 6330addddb fix(clustertool): fix verion display attempt 2 2024-10-24 14:18:11 +02:00
Kjeld Schouten 72098056a4 fix(ci): revent duplicate issues being dunked into goreleaser changelog 2024-10-23 18:15:03 +02:00
Kjeld Schouten a4b8c8a4ae feat(clustertool): done make releases as draft 2024-10-23 17:51:11 +02:00
Kjeld Schouten 77c86057b7 fix(clustertool): minor goreleaser tweak 2024-10-22 17:40:49 +02:00
Kjeld Schouten dc0121ab11 fix(clustertool): Disable sbom generation on release for now 2024-10-22 17:21:46 +02:00
Kjeld Schouten 4b5048c6be fix(ci): tweak goreleaser build process some more 2024-10-22 15:38:47 +02:00
Kjeld Schouten 092bfbe1cc fix(clustertool): some clustertool build tweaks 2024-10-22 15:16:10 +02:00
Kjeld Schouten b1ab072fdd add more changelogg stuff to ClusterTool changelog 2024-10-22 13:24:32 +02:00
Kjeld Schouten 631e18a0f0 feat(clustertool): setup logo and version displaying 2024-10-22 13:23:56 +02:00
Kjeld Schouten 6b16b7903d ensure exec for clustertool is non-caps 2024-10-19 12:21:20 +02:00
Kjeld Schouten 3672f6dc2d another goreleaser patch 2024-10-18 11:40:04 +02:00
Kjeld Schouten 4d4122a451 some more goreleaser fixes 2024-10-18 11:27:29 +02:00
Kjeld SchoutenandGitHub a160ac2617 Update .goreleaser.yaml
Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
2024-10-18 11:15:57 +02:00
Kjeld SchoutenandGitHub d8992b2058 Update .goreleaser.yaml
Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
2024-10-17 12:52:12 +02:00
Kjeld SchoutenandGitHub bd4605186a Update .goreleaser.yaml
Signed-off-by: Kjeld Schouten <info@kjeldschouten.nl>
2024-10-17 12:50:23 +02:00
Kjeld Schouten 28daef8e4f adapt clustertool logs 2024-10-16 20:53:06 +02:00
Kjeld Schouten 749d628c75 add goreleaser 2024-10-16 20:50:17 +02:00