standardize_release_workflow #2
1 changed files with 5 additions and 3 deletions
|
|
@ -24,6 +24,9 @@ fi
|
||||||
OUT_DIR=$(dirname "$1")
|
OUT_DIR=$(dirname "$1")
|
||||||
mkdir -p "$OUT_DIR"
|
mkdir -p "$OUT_DIR"
|
||||||
OUT=$(cd "$OUT_DIR" && pwd)/$(basename "$1")
|
OUT=$(cd "$OUT_DIR" && pwd)/$(basename "$1")
|
||||||
|
# Absolute: the script cd's into $WORK below, so a relative path would land there
|
||||||
|
# instead of next to $OUT.
|
||||||
|
LIB_OUT=$(dirname "$OUT")/libhate-no-d.a
|
||||||
SRC=$(cd "${2:-.}" && pwd)
|
SRC=$(cd "${2:-.}" && pwd)
|
||||||
|
|
||||||
WORK="${FBSD_WORK:-${TMPDIR:-/tmp}/fbsd-ci}"
|
WORK="${FBSD_WORK:-${TMPDIR:-/tmp}/fbsd-ci}"
|
||||||
|
|
@ -131,9 +134,8 @@ ssh_vm 'set -e
|
||||||
gmake CC=cc all lib'
|
gmake CC=cc all lib'
|
||||||
|
|
||||||
log "fetching artifacts"
|
log "fetching artifacts"
|
||||||
mkdir -p "$OUT_DIR"
|
|
||||||
scp $SCP_OPTS "root@127.0.0.1:/root/src/hate-no-d" "$OUT"
|
scp $SCP_OPTS "root@127.0.0.1:/root/src/hate-no-d" "$OUT"
|
||||||
scp $SCP_OPTS "root@127.0.0.1:/root/src/libhate-no-d.a" "$OUT_DIR/libhate-no-d.a"
|
scp $SCP_OPTS "root@127.0.0.1:/root/src/libhate-no-d.a" "$LIB_OUT"
|
||||||
|
|
||||||
log "built $OUT ($(wc -c < "$OUT") bytes)"
|
log "built $OUT ($(wc -c < "$OUT") bytes)"
|
||||||
log "built $OUT_DIR/libhate-no-d.a ($(wc -c < "$OUT_DIR/libhate-no-d.a") bytes)"
|
log "built $LIB_OUT ($(wc -c < "$LIB_OUT") bytes)"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue