mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
8e65cb2037
Signed-off-by: Julien Danjou <julien@danjou.info>
13 lines
319 B
Bash
Executable file
13 lines
319 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# $1 version to package
|
|
|
|
set -e
|
|
|
|
VERSION=$1
|
|
SVERSION=`echo $1 | sed 's/^v//'`
|
|
git archive --prefix=dist/awesome-$SVERSION/ $VERSION | tar -xf -
|
|
cd dist
|
|
echo -n $VERSION > awesome-$SVERSION/.version_stamp
|
|
tar czf awesome-$SVERSION.tar.gz awesome-$SVERSION
|
|
tar cjf awesome-$SVERSION.tar.bz2 awesome-$SVERSION
|