summaryrefslogtreecommitdiffstats
path: root/.github
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 /.github
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 '.github')
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.yml2
-rw-r--r--.github/workflows/build_releases.yml1
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
index 161c05be..ce08e67f 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.yml
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -73,7 +73,7 @@ body:
label: What version of `bottom` are you running?
description: >
Please provide which version of `bottom` you're running, which you can find with `btm -V`. If you are using
- a nightly/non-release version, please specify that and any related details (e.g. the commit hash/which nightly build).
+ a nightly/non-release version, please also specify that.
placeholder: 0.7.0
- type: input
diff --git a/.github/workflows/build_releases.yml b/.github/workflows/build_releases.yml
index b00d57d3..3dbc5248 100644
--- a/.github/workflows/build_releases.yml
+++ b/.github/workflows/build_releases.yml
@@ -152,6 +152,7 @@ jobs:
uses: ClementTsang/cargo-action@v0.0.3
env:
BTM_GENERATE: true
+ BTM_BUILD_RELEASE_CALLER: ${{ inputs.caller }}
with:
command: build
args: --release --verbose --locked --target=${{ matrix.info.target }} --features deploy