diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/clean/server/test.sh | 2 | ||||
-rwxr-xr-x | scripts/release.sh | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/scripts/clean/server/test.sh b/scripts/clean/server/test.sh index 35d3ad50f..2ceb71244 100755 --- a/scripts/clean/server/test.sh +++ b/scripts/clean/server/test.sh | |||
@@ -3,5 +3,7 @@ | |||
3 | for i in $(seq 1 6); do | 3 | for i in $(seq 1 6); do |
4 | dropdb "peertube_test$i" | 4 | dropdb "peertube_test$i" |
5 | rm -rf "./test$i" | 5 | rm -rf "./test$i" |
6 | rm -f "./config/local-test.json" | ||
7 | rm -f "./config/local-test-$i.json" | ||
6 | createdb "peertube_test$i" | 8 | createdb "peertube_test$i" |
7 | done | 9 | done |
diff --git a/scripts/release.sh b/scripts/release.sh index 2864232a4..ec76bb846 100755 --- a/scripts/release.sh +++ b/scripts/release.sh | |||
@@ -35,6 +35,7 @@ git commit package.json client/package.json -m "Bumped to version $version" || e | |||
35 | git tag -s -a "$version" -m "$version" | 35 | git tag -s -a "$version" -m "$version" |
36 | 36 | ||
37 | npm run build || exit -1 | 37 | npm run build || exit -1 |
38 | rm "./client/dist/stats.json" || exit -1 | ||
38 | 39 | ||
39 | cd ../ || exit -1 | 40 | cd ../ || exit -1 |
40 | 41 | ||