mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-11 11:06:25 +00:00
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@9807 71c3de6d-444a-0410-be80-ed276b4c234a
21 lines
513 B
Bash
Executable File
21 lines
513 B
Bash
Executable File
#!/bin/bash -ex
|
|
# build a debian package from a release build
|
|
ver=$1
|
|
|
|
cp target/checkout/war/target/hudson.war hudson.war
|
|
(cat << EOF
|
|
hudson ($ver) unstable; urgency=low
|
|
|
|
* See http://hudson.dev.java.net/changelog.html for more details.
|
|
|
|
-- Kohsuke Kawaguchi <kk@kohsuke.org> $(date -R)
|
|
|
|
EOF
|
|
cat debian/changelog ) > debian/changelog.tmp
|
|
mv debian/changelog.tmp debian/changelog
|
|
|
|
# build the debian package
|
|
debuild -us -uc -B
|
|
scp ../hudson_${ver}_all.deb hudson.gotdns.com:~/public_html_hudson/debian/binary
|
|
|