Skip to content

Automatically update pkgver using makepkg#26

Open
yuezk wants to merge 5 commits into
KSXGitHub:masterfrom
yuezk:update-pkgver
Open

Automatically update pkgver using makepkg#26
yuezk wants to merge 5 commits into
KSXGitHub:masterfrom
yuezk:update-pkgver

Conversation

@yuezk

@yuezk yuezk commented Oct 17, 2021

Copy link
Copy Markdown

No description provided.

@yuezk yuezk marked this pull request as ready for review October 17, 2021 03:34
Comment thread build.sh Outdated
Comment thread build.sh
# Update the pkgver in a temp folder
tmp_makepkg=$(mktemp -d)
cp -r /tmp/local-repo/* $tmp_makepkg
cp -r /tmp/local-repo/. $tmp_makepkg

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could remove /. at this point.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great, thanks for you remminding.

@ulises-jeremias

Copy link
Copy Markdown

@KSXGitHub is there any extra step required to merge this change? I really need this 😅

@KSXGitHub

Copy link
Copy Markdown
Owner

@ulises-jeremias I'm just too lazy to do a throughout review. Plus, it's not really my use case (my CI generates PKGBUILD before feeding it to this action), so I'm not really willing to maintain it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants