Skip to content

Commit

Permalink
disable snapshots, use local build
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Reed committed Aug 17, 2013
1 parent 8a134d0 commit 2d3185a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion bin/nightly-debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ VERSION=`grep '<version>' pom.xml | head -n 1 | sed -e 's,^.*<version>,,' -e 's,
RELEASE=`cat "$TOPDIR"/.nightly | grep -E '^repo:' | awk '{ print $2 }'`

# create the package
./makedeb.sh -a -s "$PASSWORD" -m "$TIMESTAMP" -u "$REVISION" || exit 1
if [ -n "$ONLY_PACKAGE" ]; then
./makedeb.sh -a -d -s "$PASSWORD" -m "$TIMESTAMP" -u "$REVISION" || exit 1
else
./makedeb.sh -a -s "$PASSWORD" -m "$TIMESTAMP" -u "$REVISION" || exit 1
fi

if [ -z "$ONLY_PACKAGE" ]; then
# update the $RELEASE repo, and sync it to anything later in the hierarchy
Expand Down
1 change: 1 addition & 0 deletions bin/nightly-jar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ RELEASE=`cat "${TOPDIR}"/.nightly | grep -E '^repo:' | awk '{ print $2 }'`
cd "${TOPDIR}/.."
git clean -fdx
git reset --hard HEAD

./make-installer.sh -a -m "${TIMESTAMP}" -u "${REVISION}" || exit 1

if [ -z "$ONLY_PACKAGE" ]; then
Expand Down
6 changes: 5 additions & 1 deletion bin/nightly-rpm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ rm -rf "${HOME}"/.m2/repository/org/opennms
RELEASE=`cat "$TOPDIR"/.nightly | grep -E '^repo:' | awk '{ print $2 }'`

# create the RPM
./makerpm.sh -a -s "$PASSWORD" -m "$TIMESTAMP" -u "$REVISION" || exit 1
if [ -n "$ONLY_PACKAGE" ]; then
./makerpm.sh -a -d -s "$PASSWORD" -m "$TIMESTAMP" -u "$REVISION" || exit 1
else
./makerpm.sh -a -s "$PASSWORD" -m "$TIMESTAMP" -u "$REVISION" || exit 1
fi

if [ -z "$ONLY_PACKAGE" ]; then
# copy the source to SourceForge
Expand Down

0 comments on commit 2d3185a

Please sign in to comment.