Skip to content

Commit

Permalink
Added then
Browse files Browse the repository at this point in the history
  • Loading branch information
ackava committed Aug 23, 2024
1 parent fc2e6c6 commit 92e16a0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/ci/build/Build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const Build = {

async PrepareVersion({
mode,
then
}: ThenTaskArgs<{ mode: "patch" | "timestamp" }, { major, minor, patch, version, build }>) {

const pkgFile = await readFile("./package.json", "utf8");
Expand All @@ -31,13 +32,13 @@ export const Build = {
break;
}

return {
await then?.({
version,
major,
minor,
patch,
build
};
});

}

Expand Down

0 comments on commit 92e16a0

Please sign in to comment.