Skip to content

Commit

Permalink
add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
fdch committed Oct 16, 2021
1 parent 3681462 commit 07d6308
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions Apollo1/release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

BASE=$(pwd)
RELEASES=$BASE/../Releases
BUILDDIR=$BASE/builds

for dir in $BUILDDIR/*
do
echo $dir
cd $dir
ZIPNAME=$RELEASES/$(basename $BASE)-$(basename $dir).zip
echo $ZIPNAME
zip -r $ZIPNAME *
file $ZIPNAME
#mv $ZIPNAME $BASE/../Releases
cd $BASE
done

0 comments on commit 07d6308

Please sign in to comment.