Skip to content

Commit

Permalink
Port package.cmd to package.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
zakki committed Jun 19, 2023
1 parent c5cb50e commit fb08aaf
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions client-python/package.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

VERSION=$(git tag --points-at HEAD)
RELEASE="cgos-client-python-$VERSION"
WORKDIR="work/$RELEASE"

mkdir -p $WORKDIR
mkdir -p $WORKDIR/bin
cp src/*.py $WORKDIR/bin
mkdir $WORKDIR/doc
cp doc/*.html $WORKDIR/doc
cp readme.txt sample.cfg simple.cfg $WORKDIR
(
cd work
zip -r ${RELEASE}.zip $RELEASE
)

0 comments on commit fb08aaf

Please sign in to comment.