Skip to content

Commit fb36b59

Browse files
authored
chore: mkdir -p the version directory too (#520)
1 parent 0e1104a commit fb36b59

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/deploy.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ if [[ $TRAVIS_BRANCH == "v9" ]]; then
2424

2525
git pull "https://git:${GH_TOKEN}@github.com/IBM/carbon-components-angular.git" gh-pages
2626

27-
mkdir -p documentation
28-
cp -R ../dist/docs/documentation/* ./documentation
29-
cp -R ../dist/docs/storybook/* ./
27+
mkdir -p v2/documentation
28+
cp -R ../dist/docs/documentation/* ./v2/documentation
29+
cp -R ../dist/docs/storybook/* ./v2
3030

3131
version=$(node -e 'const package = require("./../dist/package.json"); console.log(package.version);')
32-
mkdir $version
32+
mkdir -p $version
3333
mkdir -p $version/documentation
3434
cp -R ../dist/docs/documentation/* $version/documentation
3535
cp -R ../dist/docs/storybook/* $version

0 commit comments

Comments
 (0)