Skip to content

Commit 446fc01

Browse files
authored
Create nihal_arch_packaging.md
1 parent 0bc375e commit 446fc01

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Add Arch Linux packaging instructions and CI Pipeline
2+
3+
Issue - https://github.com/foss42/apidash/issues/545
4+
PR - https://github.com/foss42/apidash/pull/594
5+
Link - https://fossunited.org/hack/fosshack25/p/e5n4kirnno
6+
7+
A GitHub action is triggered on new version tags when `pubspec.yaml` changes
8+
9+
It:
10+
- Extracts version from pubspec.yaml
11+
- Downloads and generates checksums for the .deb package and LICENSE
12+
- Updates the PKGBUILD with new version and checksums
13+
- Publishes to AUR using the KSXGitHub/github-actions-deploy-aur action
14+
15+
The following secrets need to be added to the GitHub repository:
16+
17+
- `AUR_USERNAME`: Maintainer's AUR username
18+
- `AUR_EMAIL`: Maintainer's AUR email address
19+
- `AUR_SSH_PRIVATE_KEY`: Maintiner's SSH private key with AUR access
20+
21+
Adding workflow for `.deb` turned out to be complex than I had thought.
22+
I have added the support for arm64 and this will assume `.deb` files are available at release time.
23+
If they’re not, it will fail, prompting manual intervention or a separate release process.

0 commit comments

Comments
 (0)