Skip to content

Commit fe02d5f

Browse files
committedFeb 4, 2020
Update update.js to use signed tags
1 parent 1974478 commit fe02d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎update.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const writeUpdate = (version) => {
2626
const updated = helper.replace(regex, `${versionExport} = '${version}';`);
2727
fs.writeFileSync('./lib/chromedriver.js', updated, 'utf8');
2828
const packageVersion = `${version.slice(0, 2)}.0.0`;
29-
execSync(`npm version ${packageVersion} --git-tag-version=false && git add . && git commit -m "Bump version to ${packageVersion}" && git tag ${packageVersion}`);
29+
execSync(`npm version ${packageVersion} --git-tag-version=false && git add . && git commit -m "Bump version to ${packageVersion}" && git tag -s ${packageVersion} -m ${packageVersion}`);
3030
};
3131

3232
getLatest((version) => {

0 commit comments

Comments
 (0)
Please sign in to comment.