mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-21 06:33:28 +00:00
Merge pull request #1351 from balena-io/remove-beta-suffix
Remove BETA suffix from Windows and macOS installers, and update INSTALL.md
This commit is contained in:
commit
df22d42412
26
INSTALL.md
26
INSTALL.md
@ -18,25 +18,19 @@ for installing and getting started with the balena CLI on Windows!
|
||||
|
||||
## Executable Installer
|
||||
|
||||
_Please note: the executable installers are in **beta** status (recently introduced)._
|
||||
|
||||
1. Download the latest installer from the [releases page](https://github.com/balena-io/balena-cli/releases).
|
||||
Look for a file name that ends with "installer-BETA", for example:
|
||||
`balena-cli-v10.13.6-windows-x64-installer-BETA.exe`
|
||||
`balena-cli-v10.13.6-macOS-x64-installer-BETA.pkg`
|
||||
2. Double click to run. Your system may raise a pop-up warning that the installer is from an
|
||||
"unknown publisher" or "unidentified developer". Check the following instructions for how
|
||||
to get through the warnings:
|
||||
[Windows](https://github.com/balena-io/balena-cli/issues/1250) or
|
||||
[macOS](https://github.com/balena-io/balena-cli/issues/1251).
|
||||
(We are looking at how to get the installers digitally signed to avoid the warnings.)
|
||||
Look for a file name that ends with "-installer", for example:
|
||||
`balena-cli-v11.6.0-windows-x64-installer.exe`
|
||||
`balena-cli-v11.6.0-macOS-x64-installer.pkg`
|
||||
2. Double click the downloaded file to run the installer.
|
||||
3. After the installation completes, close and re-open any open [command
|
||||
terminal](https://www.balena.io/docs/reference/cli/#choosing-a-shell-command-promptterminal)
|
||||
windows so that the changes made by the installer to the PATH environment variable can take
|
||||
effect. Check that the installation was successful by running the following commands on a
|
||||
command terminal:
|
||||
|
||||
After the installation completes, close and re-open any open command terminal windows so that the
|
||||
changes made by the installer to the PATH environment variable can take effect. Check that the
|
||||
installation was successful by running these commands:
|
||||
|
||||
* `balena` - should print the balena CLI help
|
||||
* `balena version` - should print the installed CLI version
|
||||
* `balena help` - should print the balena CLI help
|
||||
|
||||
> Note: If you had previously installed the CLI using a standalone zip package, it may be a good
|
||||
> idea to check your system's `PATH` environment variable for duplicate entries, as the terminal
|
||||
|
@ -56,8 +56,8 @@ const oclifInstallers: PathByPlatform = {
|
||||
};
|
||||
|
||||
const renamedOclifInstallers: PathByPlatform = {
|
||||
darwin: dPath(`balena-cli-${version}-macOS-${arch}-installer-BETA.pkg`),
|
||||
win32: dPath(`balena-cli-${version}-windows-${arch}-installer-BETA.exe`),
|
||||
darwin: dPath(`balena-cli-${version}-macOS-${arch}-installer.pkg`),
|
||||
win32: dPath(`balena-cli-${version}-windows-${arch}-installer.exe`),
|
||||
};
|
||||
|
||||
export const finalReleaseAssets: { [platform: string]: string[] } = {
|
||||
|
@ -60,7 +60,7 @@ export function generateBaseConfig(
|
||||
deviceType?: string;
|
||||
os?: {
|
||||
sshKeys?: string[];
|
||||
}
|
||||
};
|
||||
},
|
||||
): Promise<ImgConfig> {
|
||||
options = {
|
||||
@ -77,7 +77,7 @@ export function generateBaseConfig(
|
||||
delete config.apiKey;
|
||||
|
||||
// merge sshKeys to config, when they have been specified
|
||||
if(options.os && options.os.sshKeys) {
|
||||
if (options.os && options.os.sshKeys) {
|
||||
// Create config.os object if it does not exist
|
||||
config.os = config.os ? config.os : {};
|
||||
config.os.sshKeys = config.os.sshKeys
|
||||
|
Loading…
Reference in New Issue
Block a user