Skip to content

Commit 4bd4854

Browse files
authored
Merge pull request #3 from levibostian/fix-publish
fix: publish must return object
2 parents af94009 + 23bc98a commit 4bd4854

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ async function publish(pluginConfig, context) {
4949
await preparePod(pluginConfig, context);
5050
}
5151

52-
await publishPod(pluginConfig, context);
53-
54-
return true;
52+
return publishPod(pluginConfig, context);
5553
}
5654

5755
module.exports = {verifyConditions, prepare, publish};

lib/publish.js

+2
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,6 @@ module.exports = async (pluginConfig, context) => {
1818
await result;
1919

2020
logger.log(`Published ${version} to cocoapods!`);
21+
22+
return {version};
2123
};

0 commit comments

Comments
 (0)