From 7c53f088c3933812847b7359c50cad8c0fa315a4 Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Mon, 2 Jan 2023 15:18:05 -0500 Subject: ci: add build hash to nightly builds for version (#951) This adds the build hash to the btm -V output for nightly builds, making it easier to troubleshoot when someone might have obtained a nightly build, and what commit it corresponds to. --- .cirrus.yml | 2 ++ 1 file changed, 2 insertions(+) (limited to '.cirrus.yml') diff --git a/.cirrus.yml b/.cirrus.yml index f0270fcc..caf99c96 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -76,6 +76,7 @@ build_task: BTM_GENERATE: true COMPLETION_DIR: "target/tmp/bottom/completion/" MANPAGE_DIR: "target/tmp/bottom/manpage/" + # -PLACEHOLDER FOR CI- matrix: - name: "FreeBSD 13 Build" alias: "freebsd_13_1_build" @@ -104,6 +105,7 @@ build_task: - . $HOME/.cargo/env - cargo build --release --verbose --locked --features deploy - mv ./target/release/btm ./ + - ./btm -V - mv "$COMPLETION_DIR" completion - mv "$MANPAGE_DIR" manpage - tar -czvf bottom_$NAME.tar.gz btm completion -- cgit v1.2.3