all repos — tint2 @ 602ba5aa9f11c4b7685e6977d18f07cd7c1ea219

fork of the tint2 desktop panel for my custom setup - only minimized windows across all desktops for the taskbar

make_release.sh (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

# usage: ./make_release.sh RELEASE_VERSION_NUMBER

if [[ $# -ne 1 ]]; then
  echo "usage: $0 RELEASE_VERSION_NUMBER"
  exit
fi

DIR=tint2-${1}
echo "Making release ${DIR}"
rm -Rf ${DIR}
svn export . ${DIR} > /dev/null

# delete unneeded files
rm -f ${DIR}/configure ${DIR}/make_release.sh

# replace get_svnrev.sh by a simple echo command
echo "echo \"#define VERSION_STRING \\\"${1}\\\"\" > version.h" > ${DIR}/get_svnrev.sh

# create tarball and remove the exported directory
tar -cjf ${DIR}.tar.bz2 ${DIR}
rm -Rf ${DIR}