Skip to content

Commit

Permalink
chore: Attempt to fix fcli version aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
rsenden committed Oct 26, 2023
1 parent bfaa7ff commit fb17504
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion setup/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6671,8 +6671,11 @@ function updateFcliVersionAliases() {
const minorAlias = version.substring(0, version.lastIndexOf('.'));
const majorAlias = version.substring(0, version.indexOf('.'));
if (!TOOLS["fcli"]["versionAliases"][minorAlias]) {
core.info(`${version} (${slug}) aliases: ${minorAlias} ${majorAlias}`);
core.info(`${version} (${slug}) alias: ${minorAlias}`);
TOOLS["fcli"]["versionAliases"][minorAlias] = version;
}
if (!TOOLS["fcli"]["versionAliases"][majorAlias]) {
core.info(`${version} (${slug}) alias: ${majorAlias}`);
TOOLS["fcli"]["versionAliases"][majorAlias] = version;
}
}
Expand Down
5 changes: 4 additions & 1 deletion setup/src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,11 @@ function updateFcliVersionAliases() {
const minorAlias = version.substring(0, version.lastIndexOf('.'));
const majorAlias = version.substring(0, version.indexOf('.'));
if (!TOOLS["fcli"]["versionAliases"][minorAlias]) {
core.info(`${version} (${slug}) aliases: ${minorAlias} ${majorAlias}`);
core.info(`${version} (${slug}) alias: ${minorAlias}`);
TOOLS["fcli"]["versionAliases"][minorAlias] = version;
}
if (!TOOLS["fcli"]["versionAliases"][majorAlias]) {
core.info(`${version} (${slug}) alias: ${majorAlias}`);
TOOLS["fcli"]["versionAliases"][majorAlias] = version;
}
}
Expand Down

0 comments on commit fb17504

Please sign in to comment.