Skip to content
This repository was archived by the owner on Oct 26, 2022. It is now read-only.

Commit 281e7d1

Browse files
committed
remove old releases on build
1 parent 84acaa7 commit 281e7d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/release.sh

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
3131
PACKAGE_VERSION=$(get_package_version)
3232
cp -Rf dist/docs/releases tmp-releases
3333
cp -Rf dist/docs tmp-releases/v$PACKAGE_VERSION
34+
rm -Rf tmp-releases/v$PACKAGE_VERSION/releases
3435

3536
# append version
3637
sed -i '' -e "s|\"]|\", \"$VERSION\"]|g" docs/versions.json

0 commit comments

Comments
 (0)