Skip to content
Please note that GitHub no longer supports Internet Explorer.

We recommend upgrading to the latest Microsoft Edge, Google Chrome, or Firefox.

Learn more
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 task for packaging release #6

Merged
merged 7 commits into from Mar 7, 2019

Conversation

Projects
None yet
3 participants
@code-asher
Copy link
Collaborator

code-asher commented Mar 5, 2019

No description provided.

@code-asher code-asher requested a review from kylecarbs Mar 5, 2019

@code-asher code-asher force-pushed the feature/release-script branch 2 times, most recently from 2b35d4f to 5478f3a Mar 5, 2019

Show resolved Hide resolved build/tasks.ts Outdated

@code-asher code-asher force-pushed the feature/release-script branch 2 times, most recently from b9894d3 to 69133cb Mar 6, 2019

@kylecarbs

This comment has been minimized.

Copy link
Member

kylecarbs commented Mar 6, 2019

Optimally we'd fix the v1.0.0 output when launching the binary as well. It'd be helpful to have the version once we add automatic-updates too.

code-asher added some commits Mar 5, 2019

Modify package task to package a single binary
This is so it can be used as part of the build/release script.

@code-asher code-asher force-pushed the feature/release-script branch from 561e786 to 85c192e Mar 6, 2019

runner.cwd = releasePath;
await os.platform() === "linux"
? runner.execute("tar", ["-cvzf", `${archiveName}.tar.gz`, `${archiveName}`])
: runner.execute("zip", ["-r", `${archiveName}.zip`, `${archiveName}`]);

This comment has been minimized.

@Multishifties

Multishifties Mar 6, 2019

Contributor

For our use case, is tar preferable to zip? And if so, is there any way for us to set a conditional based on whether or not said commands are installed rather than OS platform? Or is it inconsequential and/or not worth the time?

This comment has been minimized.

@code-asher

code-asher Mar 6, 2019

Author Collaborator

The goal is to provide tarballs for Linux builds and zips for Mac & Windows builds. This runs in the CI and is what will be available for download on the releases page.

@code-asher code-asher merged commit 994531d into master Mar 7, 2019

@code-asher code-asher deleted the feature/release-script branch Mar 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.