mirror of
https://github.com/google/blockly.git
synced 2026-01-04 23:50:12 +01:00
chore: update app engine version names (#7231)
This commit is contained in:
committed by
GitHub
parent
a2672a4fe6
commit
fa58cbaaf7
@@ -122,13 +122,8 @@ function deployToAndClean(demoVersion) {
|
||||
* package.json.
|
||||
*/
|
||||
function getDemosVersion() {
|
||||
const minorVersion = packageJson.version.split('.')[1];
|
||||
const patchVersion = packageJson.version.split('.')[2];
|
||||
let demoVersion = minorVersion;
|
||||
if (patchVersion !== 0) {
|
||||
demoVersion += '-' + patchVersion;
|
||||
}
|
||||
return demoVersion;
|
||||
// Replace all '.' with '-' e.g. 9-3-3-beta-2
|
||||
return packageJson.version.replace(/\./g, '-');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user