We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getLatestVersion
1 parent 40ca6e6 commit 14ad11eCopy full SHA for 14ad11e
src/version/helper.ts
@@ -44,6 +44,9 @@ const findVersions = ($: cheerio.CheerioAPI, query: string): string[] => {
44
export const normalizeForSemver = (version: string): string =>
45
version.replace(/-beta\.0*(\d+)/, "-beta.$1");
46
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
50
// Returns the latest version of the 1Password CLI based on the specified channel.
51
export const getLatestVersion = async (
52
versionType: ReleaseChannel,
0 commit comments