Skip to content

Commit

Permalink
fix script order
Browse files Browse the repository at this point in the history
  • Loading branch information
mildronize committed Jan 21, 2024
1 parent 5b96655 commit 72fe329
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ export const publishTags: Record<string, string> = {

async function main() {
const dryRun = process.env.DRY_RUN === 'true';
const releaseType = await select(releaseTypeSelectOption) as ReleaseType;

console.log(`Starting release nammatham... ${dryRun ? 'with dry-run' : ''}`);
const releaseType = await select(releaseTypeSelectOption) as ReleaseType;
const { version } = await readPackageJson(process.cwd());
console.log(`Current version: ${version}`);

Expand Down

0 comments on commit 72fe329

Please sign in to comment.