Skip to content

Commit

Permalink
release v3.4.1 generated by @lando/prepare-release-action
Browse files Browse the repository at this point in the history
  • Loading branch information
rtfm-47 committed Oct 17, 2024
1 parent 3e08785 commit abfcadb
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 12 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})

## v3.4.1 - [October 17, 2024](https://github.com/lando/setup-lando/releases/tag/v3.4.1)

* Fixed bug causing `&&` separated `auto-setup` command strings to not run correctly

## v3.4.0 - [October 15, 2024](https://github.com/lando/setup-lando/releases/tag/v3.4.0)
Expand Down
16 changes: 11 additions & 5 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45042,8 +45042,12 @@ module.exports = (command, landoBin = 'lando') => {
if (!command.includes('lando setup')) {
throw new Error(`Setup command must include "lando setup"! You tried to run "${command}"`);
}
// return command but with lando invocations replaced with absolute paths to the landoBin
return command.replace(/lando /g, `"${landoBin.replace(/\\/g, '\\\\')}" `);

// break command into pieces if there are multiple commands
return command
.split('&&')
.map(command => command.replace(/lando /g, `"${landoBin.replace(/\\/g, '\\\\')}" `))
.map(command => command.trim());
};


Expand Down Expand Up @@ -47051,7 +47055,7 @@ var __webpack_exports__ = {};
"use strict";


const SCRIPT_VERSION = 'v3.4.0';
const SCRIPT_VERSION = 'v3.4.1';

const core = __nccwpck_require__(2186);
const exec = __nccwpck_require__(1514);
Expand Down Expand Up @@ -47245,9 +47249,11 @@ const main = async () => {

// if we get here then we should be G2G
} else {
const command = parseSetupCommand(getSetupCommand(inputs.setup), landoPath);
const commands = parseSetupCommand(getSetupCommand(inputs.setup), landoPath);
const opts = {env: {...process.env, LANDO_DEBUG: core.isDebug() || inputs.debug}};
await exec.exec(command, [], opts);
for (const command of commands) {
await exec.exec(command, [], opts);
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions dist/setup-lando.js
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,11 @@ const main = async () => {

// if we get here then we should be G2G
} else {
const command = parseSetupCommand(getSetupCommand(inputs.setup), landoPath);
const commands = parseSetupCommand(getSetupCommand(inputs.setup), landoPath);
const opts = {env: {...process.env, LANDO_DEBUG: core.isDebug() || inputs.debug}};
await exec.exec(command, [], opts);
for (const command of commands) {
await exec.exec(command, [], opts);
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion dist/setup-lando.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if ($env:LANDO_VERSION -ne $null -and $env:LANDO_VERSION -ne "" -and $Version -e
$Version = $env:LANDO_VERSION
}

$SCRIPT_VERSION = "v3.4.0"
$SCRIPT_VERSION = "v3.4.1"
$LANDO_DEFAULT_MV = "3"
$LANDO_SETUP_PS1_URL = "https://get.lando.dev/setup-lando.ps1"
$LANDO_SETUP_SH_URL = "https://get.lando.dev/setup-lando.sh"
Expand Down
2 changes: 1 addition & 1 deletion dist/setup-lando.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SCRIPT_VERSION="v3.4.0"
SCRIPT_VERSION="v3.4.1"
#!/bin/bash
set -u
# Lando POSIX setup script.
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@lando/setup-lando",
"description": "GitHub Action to setup Lando on GitHub Actions.",
"version": "3.4.0",
"version": "3.4.1",
"author": "Mike Pirog @pirog",
"main": "setup-lando.js",
"license": "GPL-3.0",
Expand Down

0 comments on commit abfcadb

Please sign in to comment.