Skip to content

Commit

Permalink
build: remove unnecessary escape characters
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Oct 10, 2023
1 parent fbeb156 commit ac820eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ function publish( pkg, clbk ) {
pth = 'https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/'+pkg;

dist = join( mainDir, 'build', '@stdlib', distPkg );
command = 'git ls-remote --tags --sort="v:refname" https://'+ ENV.GITHUB_TOKEN + '@github.com/stdlib-js/'+distPkg+'.git | grep -E \'v[0-9]+\.[0-9]+\.[0-9]+\'';
command = 'git ls-remote --tags --sort="v:refname" https://'+ ENV.GITHUB_TOKEN + '@github.com/stdlib-js/'+distPkg+'.git | grep -E \'v[0-9]+.[0-9]+.[0-9]+\'';
debug( 'Executing command to retrieve last version: %s', command );
try {
command = shell( command ).toString();
Expand Down

0 comments on commit ac820eb

Please sign in to comment.