diff --git a/release.sh b/release.sh index 0bdbee5..524dc37 100755 --- a/release.sh +++ b/release.sh @@ -35,10 +35,11 @@ latest_release=$(gh release list --limit 1 --json tagName --jq '.[0].tagName') version=$(cat package.json | jq -r '.version') # check if the latest release is the same as the version in package.json -if [ "$latest_release" = "v$version" ]; then - echo "The latest release is the same as the version in package.json. Please update the version in package.json before running this script" - exit 1 -fi +# don't use right now as this script is not running as part of the github release workflow +# if [ "$latest_release" = "v$version" ]; then +# echo "The latest release is the same as the version in package.json. Please update the version in package.json before running this script" +# exit 1 +# fi # --- diff --git a/src/commands/init.ts b/src/commands/init.ts index f037421..8054fd7 100644 --- a/src/commands/init.ts +++ b/src/commands/init.ts @@ -71,7 +71,7 @@ export default class Init extends Command { let ssh let password try { - ;({ssh, password} = await connectSsh({host, username})) + ;({ssh, password} = await connectSsh({host: sshHost, username})) } catch { this.error('could not connect to SSH') } @@ -96,7 +96,7 @@ export default class Init extends Command { await setupRootSshAccess({ssh, password: passwordToUse, verbose}) username = 'root' try { - ;({ssh, password} = await connectSsh({host, username})) + ;({ssh, password} = await connectSsh({host: sshHost, username})) } catch { this.error('could not connect to SSH as root') }