summaryrefslogtreecommitdiffstats
path: root/.cirrus.yml
diff options
context:
space:
mode:
authorClement Tsang <34804052+ClementTsang@users.noreply.github.com>2023-01-02 15:18:05 -0500
committerGitHub <noreply@github.com>2023-01-02 15:18:05 -0500
commit7c53f088c3933812847b7359c50cad8c0fa315a4 (patch)
tree20bc95fc687b6ffa42fda53f0b795f1f69762f07 /.cirrus.yml
parenta56e7f6cc9c0515d15576c7b06392c0b0c79b288 (diff)
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.
Diffstat (limited to '.cirrus.yml')
-rw-r--r--.cirrus.yml2
1 files changed, 2 insertions, 0 deletions
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