Skip to content

Commit 14ad11e

Browse files
Add TODO about updating getLatestVersion implementation
1 parent 40ca6e6 commit 14ad11e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/version/helper.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ const findVersions = ($: cheerio.CheerioAPI, query: string): string[] => {
4444
export const normalizeForSemver = (version: string): string =>
4545
version.replace(/-beta\.0*(\d+)/, "-beta.$1");
4646

47+
// TODO: Use `GET https://app-updates.agilebits.com/latest` endpoint to get the latest version.
48+
// TODO: Use `CLI2` property from response object, as soon as it is available.
49+
// TODO: will be tackled in https://github.com/1Password/install-cli-action/issues/18
4750
// Returns the latest version of the 1Password CLI based on the specified channel.
4851
export const getLatestVersion = async (
4952
versionType: ReleaseChannel,

0 commit comments

Comments
 (0)