blob: 7c1349777b481f947ed6b1fc9fbd3bd2510640b8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/usr/bin/env bash
version=$1
if [ "$version" = "" ]; then
version=$(date -u '+%Y%m%d')
fi
echo "version = $version"
dir="color-theme-solarized-${version}"
mkdir $dir
cp *.el $dir
sed -i "s/%%version%%/$version/" "$dir/color-theme-solarized-pkg.el"
tar cf color-theme-solarized-${version}.tar $dir
|