Skip to content

Commit 698b317

Browse files
committed
Avoid stamping builds when not actually building
1 parent 5529f54 commit 698b317

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rake-tasks/buck.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ def self.buck_cmd(command, args, &block)
5959

6060
args ||= []
6161
buck.push(command)
62-
buck.push('--stamp-build=detect')
62+
if command == 'build' || command == 'test' || command == 'publish'
63+
buck.push('--stamp-build=detect')
64+
end
6365
buck.push(*args)
6466
puts buck.join(' ')
6567

0 commit comments

Comments
 (0)