Skip to content

Commit

Permalink
Remove getTagsFromCommit because we didnt pick #42146
Browse files Browse the repository at this point in the history
  • Loading branch information
lunaleaps committed Feb 19, 2024
1 parent 62c4664 commit 7d06cd8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/releases-ci/publish-updated-packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*/

const {PUBLISH_PACKAGES_TAG} = require('../monorepo/constants');
// $FlowExpectedError[untyped-import]
const {publishPackage} = require('../npm-utils');
const {getPackages} = require('../releases/utils/monorepo');
const {parseArgs} = require('@pkgjs/parseargs');
Expand All @@ -28,7 +29,7 @@ async function main() {
values: {help},
} = parseArgs(config);

if (help) {
if (help != null) {
console.log(`
Usage: node ./scripts/releases/publish-updated-packages.js
Expand Down Expand Up @@ -95,7 +96,7 @@ async function publishUpdatedPackages() {
console.log('Done ✅');
console.log('Publishing updated packages to npm');

const tags = getTagsFromCommitMessage(commitMessage);
const tags /*: Array<string> */ = [];
const failedPackages = [];

for (const packageName of packagesToUpdate) {
Expand Down Expand Up @@ -130,7 +131,7 @@ function runPublish(
tags /*: Array<string> */,
) {
const result = publishPackage(packagePath, {
tags,
tag: null,
otp: NPM_CONFIG_OTP,
});

Expand Down

0 comments on commit 7d06cd8

Please sign in to comment.