Skip to content
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

Add support for adding assets to AUR repository #21

Merged
merged 1 commit into from
Aug 4, 2021

Conversation

filips123
Copy link
Contributor

This implements support for adding assets to AUR repository and closes #20.

I added assets key which can contain glob patterns of additional files that are copied to repo. Globs are expanded by bash and I also added GLOBIGNORE=".:.." to prevent copying parent directory (..) when trying to match hidden files.

I created a test repo that uses this, but with all actual publishing disabled, and it seems to work.

# shellcheck disable=SC2086
# Ignore quote rule because we need to expand glob patterns to copy $assets
{
echo "Copying " $assets
Copy link
Owner

Choose a reason for hiding this comment

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

You can remove trailing whitespace after Copying.

@KSXGitHub KSXGitHub merged commit beeaa2c into KSXGitHub:master Aug 4, 2021
@KSXGitHub
Copy link
Owner

I will merge this for now, but without creating a tag. You may try it out in your workflow by replacing github-actions-deploy-aur@<TAG> with github-actions-deploy-aur@beeaa2c21fccb825b1514089c02f260001c697bd. Please tell me the result so that I may make an official release.

@filips123
Copy link
Contributor Author

Thanks. I won't test it yet as I still have to do a few things with my project, but it will probably be ready this or next week.

@ReenigneArcher
Copy link

Has this been tested? If so could a new tag/release be made?

@KSXGitHub KSXGitHub mentioned this pull request Jun 28, 2022
@KSXGitHub
Copy link
Owner

KSXGitHub commented Jun 28, 2022

Someone is attempting to use this feature: #28

@KSXGitHub
Copy link
Owner

v2.3.0 has been released.

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.

Support pushing other files to AUR repository
3 participants