Skip to content

Commit

Permalink
Fix Makefile to release docs to the correct directory
Browse files Browse the repository at this point in the history
  • Loading branch information
thegridman committed Dec 20, 2019
1 parent 6cdf358 commit 36aa346
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,8 @@ release-ghpages: helm-chart docs
git pull
ifeq (true, $(PRE_RELEASE))
mkdir -p docs-unstable || true
cp -r $(BUILD_OUTPUT)/docs/ docs-unstable/$(VERSION_FULL)/
rm -rf docs-unstable/$(VERSION_FULL)/ || true
mv $(BUILD_OUTPUT)/docs/ docs-unstable/$(VERSION_FULL)/
sh $(BUILD_OUTPUT)/docs-unstable-index.sh
ls -ls docs-unstable

Expand All @@ -850,7 +851,8 @@ ifeq (true, $(PRE_RELEASE))
git add charts-unstable/*
else
mkdir docs/$(VERSION_FULL) || true
cp -r $(BUILD_OUTPUT)/docs/ docs/$(VERSION_FULL)/
rm -rf docs/$(VERSION_FULL)/ || true
mv $(BUILD_OUTPUT)/docs/ docs/$(VERSION_FULL)/
ls -ls docs

mkdir -p charts || true
Expand Down

0 comments on commit 36aa346

Please sign in to comment.