Skip to content

Commit

Permalink
A0-2591: Adapt the alpha-version format to Chrome requirements (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
jalooc authored Aug 18, 2023
1 parent 8c75947 commit 77b1b52
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gnerate-extension-bundles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
tags:
- '[0-9]+.[0-9]+.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+-alpha.[0-9]+'
- '[0-9]+.[0-9]+.[0-9]+.[0-9]+' # this is for internal testing builds

jobs:
generate-extension-bundles:
Expand Down
2 changes: 1 addition & 1 deletion scripts/setSignerVersion.mts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const { values: { [VERSION_PARAM_NAME]: version = '' }} = parseArgs({
}
})

assert(/^\d+\.\d+\.\d+(-alpha\.\d+)?$/.test(version), `The "${VERSION_PARAM_NAME}" argument: "${version}" does not match the "x.x.x" (optionally "x.x.x-alpha.x") format.`)
assert(/^\d+\.\d+\.\d+(\.\d+)?$/.test(version), `The "${VERSION_PARAM_NAME}" argument: "${version}" does not match the "x.x.x" (optionally "x.x.x.x") format for internal testing builds.`)

const currentPackageJsonContent = await readFile(EXTENSION_PACKAGE_JSON_PATH, 'utf8')

Expand Down

0 comments on commit 77b1b52

Please sign in to comment.