Skip to content
This repository was archived by the owner on Apr 22, 2020. It is now read-only.

Commit 5ddfde3

Browse files
fixed bugs: cut_release.sh script had syntax errors in some sanity checks and was copying uncompressed JS and CSS to /loader
1 parent ebbef75 commit 5ddfde3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

cut-release.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ if build; then
103103
panic "Make failed"
104104
fi
105105

106-
if [-n "$(svn stat "$VERSION_BASE/trunk")"; then
106+
if [ -n "$(svn stat "$VERSION_BASE/trunk")" ]; then
107107
svn stat "$VERSION_BASE/trunk"
108108
panic "Uncommitted changes"
109109
fi
@@ -149,8 +149,10 @@ function svn_sync() {
149149
}
150150

151151
# Deploy the current compiled source to /loader
152-
sync svn_sync "$VERSION_BASE/trunk/src" "$VERSION_BASE/loader" js css
153-
sync svn_sync "$VERSION_BASE/trunk/styles" "$VERSION_BASE/loader/skins" css
152+
sync svn_sync "$VERSION_BASE/trunk/distrib/google-code-prettify" \
153+
"$VERSION_BASE/loader" js css
154+
sync svn_sync "$VERSION_BASE/trunk/styles" \
155+
"$VERSION_BASE/loader/skins" css
154156

155157
# Cut branch
156158
command svn copy "$VERSION_BASE/trunk" "$VERSION_BASE/branches/$RELEASE_LABEL"

0 commit comments

Comments
 (0)