We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed04fe6 commit 764fc24Copy full SHA for 764fc24
diff-pr.sh
@@ -74,6 +74,7 @@ fi
74
75
export BASHBREW_CACHE="${BASHBREW_CACHE:-${XDG_CACHE_HOME:-$HOME/.cache}/bashbrew}"
76
export BASHBREW_LIBRARY="$PWD/oi/library"
77
+export BASHBREW_ARCH='amd64' # TODO something smarter with arches
78
79
# TODO something less hacky than "git archive" hackery, like a "bashbrew archive" or "bashbrew context" or something
80
template='
@@ -87,9 +88,10 @@ template='
87
88
{{- .Tags | last -}}
89
{{- "/" -}}
90
{{- " " -}}
- {{- .GitCommit -}}
91
+ {{- .ArchGitCommit "'"$BASHBREW_ARCH"'" -}}
92
{{- ":" -}}
- {{- (eq .Directory ".") | ternary "" .Directory -}}
93
+ {{- $dir := .ArchDirectory "'"$BASHBREW_ARCH"'" -}}
94
+ {{- (eq $dir ".") | ternary "" $dir -}}
95
{{- "\n" -}}
96
{{- end -}}
97
'
0 commit comments