Skip to content

Commit

Permalink
chore: fix un-publish release script (#1516)
Browse files Browse the repository at this point in the history
* chore: fix imports

* chore: changeset
  • Loading branch information
danielbate authored Dec 14, 2023
1 parent a3ca540 commit dd31612
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .changeset/funny-dolls-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
7 changes: 4 additions & 3 deletions scripts/release-unpublish.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const exec = require('child_process');
const { compare } = require('compare-versions');
const { readFileSync, readdirSync } = require('fs');
const { join } = require('path');
const { readFileSync, readdirSync } = require('node:fs');
const { join } = require('node:path');
const util = require('node:util');
const exec = util.promisify(require('node:child_process').exec);

const DELETE_TAGS = /next|pr/;
const { version: CURRENT_VERSION } = require('../packages/fuels/package.json');
Expand Down

0 comments on commit dd31612

Please sign in to comment.