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

Commit 46e17ef

Browse files
committed
Simplify file naming.
1 parent 7934e8a commit 46e17ef

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.buildbot.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,13 @@ ulimit -d $((1024 * 1024 * 8)) # 8 GiB
1212
RUST_BACKTRACE=1 ./x.py test --config .buildbot.toml
1313

1414
# Archive the build and put it in /opt
15-
GIT_HASH=`git rev-parse --short HEAD`
1615
TARBALL_TOPDIR=ykrustc-stage2
17-
TARBALL_NAME=ykrustc-stage2-${GIT_HASH}.tar.bz2
16+
TARBALL_NAME=ykrustc-stage2-latest.tar.bz2
1817
SNAP_DIR=/opt/ykrustc-bin-snapshots
1918

2019
cd build/x86_64-unknown-linux-gnu
2120
ln -sf stage2 ${TARBALL_TOPDIR}
2221
git show -s HEAD > ${TARBALL_TOPDIR}/VERSION
2322
tar hjcvf ${TARBALL_NAME} ${TARBALL_TOPDIR}
2423
chmod 775 ${TARBALL_NAME}
25-
rm -f ${SNAP_DIR}/ykrustc-stage2-*.tar.bz2
26-
mv ${TARBALL_NAME} ${SNAP_DIR}
24+
mv ${TARBALL_NAME} ${SNAP_DIR} # Overwrites any old archive.

0 commit comments

Comments
 (0)