diff options
author | William Carroll <wpcarro@gmail.com> | 2020-08-21T16·53+0100 |
---|---|---|
committer | William Carroll <wpcarro@gmail.com> | 2020-08-22T22·27+0100 |
commit | aeeaed605ed21c5ce8cddb5ffea021ae3cb55785 (patch) | |
tree | fb4755e2c2d9c4c7c7103eb96a888da60db029ef /ci | |
parent | 0644e1f74004f88cc32edab5221ab57463932c3f (diff) |
Log git information during briefcase's lint stage
I would like to find out what the state of the repo is during pre-receive hook.
Diffstat (limited to 'ci')
-rw-r--r-- | ci/pipelines/briefcase.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ci/pipelines/briefcase.nix b/ci/pipelines/briefcase.nix index b01e9f93cb9f..aa39e1ecf7d0 100644 --- a/ci/pipelines/briefcase.nix +++ b/ci/pipelines/briefcase.nix @@ -3,7 +3,11 @@ let pipeline.steps = [ { - command = "${pkgs.git-secrets}/bin/git-secrets --scan-history"; + command = '' + git log -n 1 + git show + ${pkgs.git-secrets}/bin/git-secrets --scan-history + ''; label = ":broom: lint"; } { |