Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ECP-8954] Automate the Shopware Marketplace zip file creation as rel…
…ease asset (#500) * Added new workflow file and script for creating zip * Fixed syntax in yml file * Update the path to prepare script in yml file * Add a testing script with e2e file * Update the file path syntax * Update working directory path * Try something new * Try something new with the zip path * hopefully this fixed the path * hopefully this fixed the path - 2 * hopefully this fixed the path - 3 * hopefully this fixed the path - 4 * hopefully this fixed the path - 5 * last trial of the day * move zip file inside pwd * Finish up * Remove copy * Update comments * Add upload asset into workflow * try to use the upload artifact action for uploading release asset * path var update * Action update * add tag * always * try latest action * try another one * update input variable * try CLI * fix syntax * fix syntax * add token * remove @ * find the file * trying to user form data. * setting the content type and using the upload url. * oops.. upload_url instead of release id * fight the zip corruption * fight the zip corruption -1 * Update checkout version in mail.yml to get rid of deprecation warnings * remove usage of set-output * Test and revert * revert url var too * test env vars * change syntax * again * change mime type * raw field instead of field * back to the basics.. * added ls again to check (and data key) * try something new * try upload with cli command using tag-name * Clean up and try upload with cli command using tag-name - 2 * Go back to old method * See if Readme file gets corrupted too on upload * syntax fix * rearrange commented code * syntax fix again * Check for readme * Correct file type * Now try the same method for the zip * Oops! forgot to compile the zip * Since it finally works - optimize code * Finalise * Update trigger to 'release' * Remove the push trigger * Apply suggestions from review * Remove missed commented code * Create a zip file for test and use the ref name instead of 'latest' for getting release information * Remove 'workflow_dispatch' trigger and get a zip file with 'push' trigger * Remove 'push' trigger and add back the usage of ref name * test the trigger type 'edited' for release * test the trigger type 'published' for release * [ECP-8954] Use tag name directly --------- Co-authored-by: sushmita <[email protected]>
- Loading branch information