diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-17 10:32:03 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-17 10:41:27 +0100 |
commit | fd206f0b2d7e5c8e00e2817266d90ec54f79e1da (patch) | |
tree | 86b096cf2abd7eb49b892de1c9be855f45a41a9c /scripts | |
parent | 9581cabc596acb18c0ad86bcf3a07c2b45e8e47e (diff) | |
download | PeerTube-fd206f0b2d7e5c8e00e2817266d90ec54f79e1da.tar.gz PeerTube-fd206f0b2d7e5c8e00e2817266d90ec54f79e1da.tar.zst PeerTube-fd206f0b2d7e5c8e00e2817266d90ec54f79e1da.zip |
Add ability to update some configuration keys
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 | ||