Skip to content

Commit

Permalink
update promote scripts to match release
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Dec 31, 2015
1 parent 3153d69 commit 976d8a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup/centos5/resources/jenkins.sysconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ JENKINS_SLAVE_JAR="/home/iojs/slave.jar"
JENKINS_SLAVE_LOG="/home/iojs/$NAME.log"
JENKINS_SECRET="{{secret}}"
JENKINS_SLAVE_ARGS="-jnlpUrl https://ci.nodejs.org/computer/iojs-digitalocean-centos6-64-{{id}}/slave-agent.jnlp -secret $JENKINS_SECRET"
JENKINS_PATH="/opt/rh/devtoolset-2/root/usr/bin"
JENKINS_ENV="PRE_1_PATH=/home/iojs/bin:$PATH JOBS=$(getconf _NPROCESSORS_ONLN) DESTCPU={{arch}} ARCH={{arch}} OSTYPE=linux-gnu NODE_COMMON_PIPE=/home/iojs/test.pipe"
JENKINS_PATH="{{scl}}"
5 changes: 4 additions & 1 deletion setup/www/tools/promote/_resha.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ if [ "X${version}" == "X" ]; then
exit 1
fi

(cd "${dstdir}/${version}" && shasum -a256 $(ls node* iojs* win-*/* 2> /dev/null) > SHASUMS256.txt) || exit 1
(cd "${dstdir}/${version}" && shasum -a256 $(ls node* openssl* iojs* win-*/* x64/* 2> /dev/null) > SHASUMS256.txt) || exit 1
if [[ $version =~ ^v[0] ]]; then
(cd "${dstdir}/${version}" && shasum $(ls node* openssl* x64/* 2> /dev/null) > SHASUMS.txt) || exit 1
fi
echo "${dstdir}/${version}/SHASUMS256.txt"
/home/dist/tools/dist-indexer/dist-indexer.js --dist $dstdir --indexjson ${dstdir}/index.json --indextab ${dstdir}/index.tab
find "${dstdir}/${version}" -type f -exec chmod 644 '{}' \;
Expand Down

0 comments on commit 976d8a8

Please sign in to comment.