Skip to content

Commit 830dd26

Browse files
committed
Merge pull request rangle#368 from sumitarora/cleanup
adding condition to check circle build number
2 parents b31172c + 19a2c0b commit 830dd26

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

crxmake.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,11 @@ key="key.pem"
1212
name="augury"
1313
files="manifest.json build src images index.html frontend.html popup.html"
1414

15-
crx="$name-$CIRCLE_BUILD_NUM.crx"
15+
crx="$name.crx"
16+
if [ $CIRCLE_BUILD_NUM ]; then
17+
crx="$name-$CIRCLE_BUILD_NUM.crx"
18+
fi
19+
1620
pub="$name.pub"
1721
sig="$name.sig"
1822
zip="$name.zip"

0 commit comments

Comments
 (0)