This commit is contained in:
@@ -34,6 +34,7 @@ async function promotion(kind: 'script' | 'plugin' | 'baseline', staged: boolean
|
||||
? 'managed.dll'
|
||||
: 'managed.gsc';
|
||||
const { script, version: prior } = createScript({
|
||||
releaseVersion: '1.0.0',
|
||||
name: 'managed',
|
||||
kind,
|
||||
targetRelPath: relPath,
|
||||
@@ -41,7 +42,7 @@ async function promotion(kind: 'script' | 'plugin' | 'baseline', staged: boolean
|
||||
scopeValue: 't5',
|
||||
content: before
|
||||
});
|
||||
const version = uploadNewVersion(script.id, after);
|
||||
const version = uploadNewVersion(script.id, after, undefined, '1.0.1');
|
||||
db()
|
||||
.prepare('UPDATE scripts SET current_version_id = ? WHERE id = ?')
|
||||
.run(version.id, script.id);
|
||||
|
||||
Reference in New Issue
Block a user