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

ci: 👷 add zip files to github releases #1593

Merged
merged 11 commits into from Nov 23, 2021
Merged

Conversation

josh-hemphill
Copy link
Contributor

@josh-hemphill josh-hemphill commented Oct 29, 2021

closes #1574

adds a release github workflow that runs through the build and test process on releases but attaches the zip files as artifacts to the github release, so people in offline environments have an easy way install it with a single file.

Darkreader already does this; I've used their github workflow as a template and adapted it accordingly.

I did run into the issue that zip cli is not cross-platform, so I had to add archiver, and wrote a quick script to do the same that was being done with the other tools.

I also added a section that will run if it's not in CI that will reuse some packages already in the dependency tree to provide progress bars when zipping files to help with debugging it.

See https://github.com/josh-hemphill/devtools/releases/tag/v6.4.0 for what the successful release with artifacts looks like.

@josh-hemphill
Copy link
Contributor Author

josh-hemphill commented Nov 2, 2021

Okay, I think it's good. I had to disable webpack-terser parallelism to pass CircleCI without it running out of memory, which also seems to be what's effecting other PRs.

Conflicts:
	yarn.lock
@Akryum Akryum merged commit 47aaaf8 into vuejs:main Nov 23, 2021
6 checks passed
@Akryum
Copy link
Member

Akryum commented Nov 23, 2021

Thanks! 👍

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.

Add prebuilt extension archives to release artifacts
2 participants