File: make-release.in

package info (click to toggle)
yaws 2.1.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,012 kB
  • sloc: erlang: 42,153; sh: 2,501; javascript: 1,459; makefile: 968; ansic: 890; lisp: 79; python: 34; xml: 12; php: 1
file content (30 lines) | stat: -rw-r--r-- 769 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh

SRCDIR=@abs_top_srcdir@
BUILDDIR=@abs_top_builddir@
YAWS_VSN=@YAWS_VSN@
INSTALL_BUILDER=${INSTALL_BUILDER:-@INSTALL_BUILDER@}


echo packing release ${YAWS_VSN}

TAG="yaws-${YAWS_VSN}"
NAME_VERSION="yaws-${YAWS_VSN}"

# Add/update release tag
(cd ${SRCDIR} && git tag -f -a -m "version ${YAWS_VSN}" "$TAG")

# Create windows installer
#(cd ${BUILDDIR} && make mkinstaller INSTALL_BUILDER=${INSTALL_BUILDER} >/dev/null)

# Create distribution tarball
(cd ${BUILDDIR} && make dist > /dev/null)

echo release resides in ${BUILDDIR}/$NAME_VERSION.tar.gz
#echo release resides in ${BUILDDIR}/Yaws-${YAWS_VSN}-windows-installer.exe

echo "To push this do:"
#echo "git push origin revs/tags/yaws-${version}:revs/tags/yaws-${version}"
echo "git push --tags"

exit 0