Skip to content

Automatically update pkgver using makepkg #26

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

yuezk
Copy link

@yuezk yuezk commented Oct 17, 2021

No description provided.

@yuezk yuezk marked this pull request as ready for review October 17, 2021 03:34
@@ -77,10 +77,10 @@ if [ "$update_pkgver" = "true" ]; then

# 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
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
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

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

@KSXGitHub
Copy link
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