Skip to content

Commit

Permalink
4evamid
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Dec 6, 2024
1 parent 0fc86a7 commit 957416a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions hooks/lando-run-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ module.exports = async lando => {
const sopts = lando?.config?.setup;
// we dont need to show the summary here
sopts.yes = true;
// skip common plugins for now?
sopts.skipCommonPlugins = true;

// get our setup tasks
const tasks = await lando.getSetupStatus(sopts);
Expand Down
3 changes: 1 addition & 2 deletions lib/updates.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,11 @@ module.exports = class UpdateManager {
const arch = ['arm64', 'aarch64'].includes(process.arch) ? 'arm64' : 'x64';
const os = getOS();
const ext = process.platform === 'win32' ? '.exe' : '';
const slim = cli.slim ? '-slim' : '';

// @NOTE: should this always work?
const release = data.find(release => release.tag_name === `v${hv}`);
release.version = hv;
release.binary = `lando-${os}-${arch}-v${release.version}${slim}${ext}`;
release.binary = `lando-${os}-${arch}-v${release.version}${ext}`;
release.channel = release.prerelease ? 'edge' : 'stable';
// @NOTE: ditto
const asset = release.assets.find(asset => asset.name === release.binary);
Expand Down

0 comments on commit 957416a

Please sign in to comment.