mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-11 19:16:42 +00:00
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@1344 71c3de6d-444a-0410-be80-ed276b4c234a
14 lines
717 B
Bash
14 lines
717 B
Bash
#!/bin/sh -ex
|
|
#
|
|
# Kohsuke's automated release script. Sorry for my checking this in,
|
|
# but Maven doesn't let me run release goals unless I have this in CVS.
|
|
#
|
|
# this script is to be run after release:perform runs successfully
|
|
id=$(show-pom-version target/checkout/pom.xml)
|
|
#./publish-javadoc.sh
|
|
javanettasks uploadFile hudson /releases/$id "`date +"%Y/%m/%d"` release" Stable target/checkout/war/target/hudson.war
|
|
javanettasks uploadFile hudson /releases/source-bundles/$id "`date +"%Y/%m/%d"` release" Stable target/checkout/target/hudson-$id-src.zip
|
|
javanettasks announce hudson "Hudson $id released" << EOF
|
|
See <a href="https://hudson.dev.java.net/changelog.html">the changelog</a> for details.
|
|
EOF
|