Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork15
Automatically update pkgver using makepkg#24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Conversation
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
9988ac9 toe6f7194CompareIt seems that you're busy. Notify me by |
bc58083 to8befa3bCompareyuezk commentedOct 16, 2021
Hi@KSXGitHub Is it ready to merge this PR? |
| cd /tmp/makepkg; | ||
| makepkg -od; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
; is unnecessary.
| if ["$update_pkgver"="true" ];then | ||
| echo'::group::Updating pkgver' | ||
| echo'Running `makepkg -od` to update pkgver' | ||
| mkdir -p /tmp/makepkg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
There's a command calledmktemp that always exists (provided by thecoreutils package). It is better to use that thanmkdir -p /tmp/makepkg.
yuezk commentedOct 17, 2021
@KSXGitHub I submitted another PR (#26) for updating the |
If a
pkgver()function exists, the PKGBUILD file will be copied into a new temporary directory,makepkg -odwill be run, and then the new PKGBUILD file will be the one that is copied into the aur repo.makepkg -od:-oskips building, but still runspkgver()-dskips dependency checks, which is fine as long as no dependencies (other than git) are used in thepkgver()function