Skip to content

Commit 51b9266

Browse files
author
lh5053
committed
Updated script for 'releasing' current version.
1 parent ccdd880 commit 51b9266

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ Debug
4444
CMakeLists.txt
4545

4646
# Archive
47-
HackTTP.zip
47+
etap*.zip

hackttp.archive

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
#!/bin/bash
22

3+
fname="etap_$1.zip"
4+
echo "Preparing $fname"
35
echo -n "Fetching fresh copy..."
46
git clone http://github.com/LeHack/hackttp hackttp >& /dev/null
57
echo "OK"
68
echo -n "Creating archive..."
7-
zip -r HackTTP.zip hackttp/ -x '*/.git/*'
9+
zip -r $fname hackttp/ -x '*/.git/*'
810
rm -Rf hackttp
9-
echo "etap_$1.zip ready"
11+
echo "$fname ready"

0 commit comments

Comments
 (0)