Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (11 sloc) 309 Bytes
#!/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