File: _init.sh

package info (click to toggle)
ladvd 1.1.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,264 kB
  • sloc: ansic: 11,170; sh: 189; makefile: 183
file content (18 lines) | stat: -rwxr-xr-x 305 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env bash

set -e

NAME="ladvd"
BASE=$(pwd)
RELEASE="${BASE}/release"

# prepare
git pull -u
git log --date=short --pretty=format:'%ad [%h] [%an]: %s' > ${BASE}/doc/ChangeLog

# create release dir
if [ -n "${CLEAN}" ]; then
    [ -d ${RELEASE} ] && rm -rf ${RELEASE}
    mkdir -p ${RELEASE}
fi