We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4f8257 commit 736a26fCopy full SHA for 736a26f
makexpi.sh
@@ -135,7 +135,11 @@ if [ "$1" ] && [ "$1" != "--fast" ] ; then
135
XPI_NAME="$XPI_NAME.xpi"
136
else
137
# During development, generate packages named with the short hash of HEAD.
138
- XPI_NAME="$XPI_NAME~`git rev-parse --short HEAD`.xpi"
+ XPI_NAME="$XPI_NAME~`git rev-parse --short HEAD`"
139
+ if ! git diff-index --quiet HEAD; then
140
+ XPI_NAME="$XPI_NAME-dirty"
141
+ fi
142
+ XPI_NAME="$XPI_NAME.xpi"
143
fi
144
145
[ -d pkg ] || mkdir pkg
0 commit comments