Skip to content

Commit 94c6bb2

Browse files
author
Philippe GODOT
committed
mise a jour plugin.sh
1 parent 697f81c commit 94c6bb2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

plugin.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ sed \
8484
-e "s/{UNAME}/$UNAME/" \
8585
-e "s/{VERSION}/$VERSION/" \
8686
-e "s/{YEAR}/$YEAR/" \
87-
-i setup.php hook.php $LNAME.xml README.md
87+
-i setup.php hook.php $LNAME.xml
88+
89+
#generate archive and remove plugin folder after
90+
cd .. &&
91+
tar -cvjf $LNAME-$VERSION.tbz $LNAME &&
92+
rm -rf $LNAME
8893

8994
popd > /dev/null

0 commit comments

Comments
 (0)