Closed noplanman closed 4 years ago
If you can download the build-plugin from the download link you should be able to use GHU as you have it set up.
If you can give me read access I might be able to help more. Same username as here.
I can’t really help with any CI questions. My lack of knowledge.
Thanks for your reply @afragen.
I saw that the problem seems to be WordPress related, but I haven't fully understood why :thinking:
It's having trouble moving the files from the upgrade
folder (which does contain the full plugin contents correctly) to the actual plugin folder.
I'll close off here as it seems unrelated.
I'm basically looking for a way to use GitLab CI to build a production plugin (
composer install --no-dev
) and zip the clean file structure without any development stuff.After many failed attempts using
GitLab CI Job: build-plugin
andRelease Asset: true
I'm coming here to figure out what I'm doing wrong...What exactly needs to be built as an artifact for GitHub Updater to install it successfully?
Here is my simple example of a
.gitlab-ci.yml
file:(
.ziponly
is a file that contains a list of files that are required for the production plugin)This creates an artifact with the correct name:
<repo>-<tag>.zip
But when updating, it breaks after creating the first folder and that folder stays empty:
What it should be:
Any guidance would be much appreciated, thanks :smiley: