Repository navigation
AUR release on push to main, with Discord notifications - #23
Merged
Merged
Conversation
The PKGBUILD in aur/ is now the one that gets published: the source points at the GitHub tag tarball again, the build uses the extracted Email-Client-<ver> directory, and gpm is listed as a runtime dependency. Bump the version to 2.1.0, since the AUR already has 2.0.0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
.github/workflows/aur-release.yml. On every push tomainit:ci.ymlnow also acceptsworkflow_call; plain pushes tomainare skipped there so it does not run twice),<project(VERSION)>-<pkgrel>with the AUR package and stops when it is already published (fails if it is older),vmimefrom the AUR) from a local source archive, and checks that every library comes from a package,<version>(if the tag does not exist yet),pkgverandsha256sumsfrom the GitHub tag tarball, generates.SRCINFOand pushes tossh://aur@aur.archlinux.org/email-client.git,Also adds
.github/workflows/discord-pr-merged.yml, which announces every PR merged intomainon Discord. A merge with a version bump therefore gives two messages: the merge, then the release result.Secrets:
AUR_SSH_PRIVATE_KEYandDISCORD_WEBHOOK_URL(Discord steps only warn when it is missing). The AUR host key is pinned.aur/PKGBUILDis fixed (real source URL, the correct source directory,gpmdependency) and the version is bumped to 2.1.0, because the AUR already has 2.0.0-2. The PKGBUILD was test-built in anarchlinux:latestcontainer.