Skip to content

Commit 34df6b6

Browse files
committed
Try to nuke ~/.dub once
1 parent e6c6638 commit 34df6b6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

vars/runPipeline.groovy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,9 @@ def buildDlang() {
358358
sh '''#!/usr/bin/env bash
359359
set -ueo pipefail
360360
361+
# Nuking ~/.dub is required to always fetch the latest package
362+
rm -rf $HOME/.dub
363+
361364
rm -rf distribution
362365
mkdir -p distribution/{bin,imports,libs}
363366
cp --archive --link dmd/generated/linux/release/64/dmd dub/bin/dub tools/generated/linux/64/rdmd distribution/bin/

0 commit comments

Comments
 (0)