Skip to content

Commit 0850e73

Browse files
committed
[fix] Always update latest build symlink
1 parent 425ee4e commit 0850e73

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

scripts/build

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,14 @@ if [[ ! -f $STEP_DIR ]]; then
154154
mkdir -p `dirname $STEP_DIR`
155155

156156
scripts/pack.js "$OBJECTS" nodeos 1 1 | gzip > $STEP_DIR || err 30
157-
158-
ln -sf $CPU.tar.gz out/latest || err 32
159157
fi
160158

161159

160+
#
161+
# Update latest build
162+
#
163+
164+
ln -sf $CPU.tar.gz out/latest || err 40
165+
166+
162167
echo -e "${GRN}Successfully built Layer-3 image 'usersfs'${CLR}"

0 commit comments

Comments
 (0)