Skip to content

Commit b25ec1b

Browse files
Merge pull request #14 from ExtendRealityLtd/fix/revert-specific-path-fix
Revert "fix(cd.yml): provide explicit path to find command"
2 parents 3c10973 + dcf9843 commit b25ec1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/steps/cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ steps:
66
- ${{ if eq(parameters.unityProject, 'true') }}:
77
- bash: |
88
npm pack 2>/dev/null
9-
tarball=$(/usr/bin/find . -name "*.tgz")
9+
tarball=$(find . -name "*.tgz")
1010
tarballFilePaths=$(tar -tf $tarball)
1111
1212
while read -r filePath
@@ -319,7 +319,7 @@ steps:
319319
displayName: Create semantic-release.config.js
320320
- bash: |
321321
cat > npm-tarball-to-zip.sh <<- "EOF"
322-
tarball=$(/usr/bin/find . -name "*.tgz")
322+
tarball=$(find . -name "*.tgz")
323323
zipName=$(echo $tarball | sed -e "s/\.[^.]*$//").zip
324324
files=$(tar -tf $tarball | sed "s/^package\\///")
325325
npx --no-install --cache ../node_modules bestzip $zipName $files

0 commit comments

Comments
 (0)