Skip to content

Commit 4114c18

Browse files
authored
comment out uploading as we don't need it
1 parent e43e7fe commit 4114c18

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

scripts/linux/buildPG.sh

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,24 @@ if [[ $errorcode -ne 0 ]]; then
3030
exit $errorcode
3131
fi
3232

33-
if [[ -z "${GA_CI_SECRET}" ]] ; then
34-
echo "Not on main repo skipping sign and upload";
35-
else
36-
if [[ "${TRAVIS_REPO_SLUG}/${TRAVIS_BRANCH}" == "openframeworks/projectGenerator/master" && "$TRAVIS_PULL_REQUEST" == "false" ]] || [[ "${GITHUB_REF##*/}" == "master" && -z "${GITHUB_HEAD_REF}" ]] ; then
37-
38-
if [ "$GITHUB_ACTIONS" = true ]; then
39-
echo Unencrypting key for github actions
40-
openssl aes-256-cbc -salt -md md5 -a -d -in scripts/githubactions-id_rsa.enc -out scripts/id_rsa -pass env:GA_CI_SECRET
41-
mkdir -p ~/.ssh
42-
else
43-
echo Unencrypting key for travis
44-
openssl aes-256-cbc -K $encrypted_cd38768cbb9d_key -iv $encrypted_cd38768cbb9d_iv -in scripts/id_rsa.enc -out scripts/id_rsa -d
45-
fi
46-
47-
cp scripts/ssh_config ~/.ssh/config
48-
chmod 600 scripts/id_rsa
49-
scp -i scripts/id_rsa commandLine/bin/projectGenerator tests@198.61.170.130:projectGenerator_builds/projectGenerator_linux_new
50-
ssh -i scripts/id_rsa tests@198.61.170.130 "mv projectGenerator_builds/projectGenerator_linux_new projectGenerator_builds/projectGenerator_linux"
51-
fi
52-
rm -rf scripts/id_rsa
53-
fi
33+
# if [[ -z "${GA_CI_SECRET}" ]] ; then
34+
# echo "Not on main repo skipping sign and upload";
35+
# else
36+
# if [[ "${TRAVIS_REPO_SLUG}/${TRAVIS_BRANCH}" == "openframeworks/projectGenerator/master" && "$TRAVIS_PULL_REQUEST" == "false" ]] || [[ "${GITHUB_REF##*/}" == "master" && -z "${GITHUB_HEAD_REF}" ]] ; then
37+
38+
# if [ "$GITHUB_ACTIONS" = true ]; then
39+
# echo Unencrypting key for github actions
40+
# openssl aes-256-cbc -salt -md md5 -a -d -in scripts/githubactions-id_rsa.enc -out scripts/id_rsa -pass env:GA_CI_SECRET
41+
# mkdir -p ~/.ssh
42+
# else
43+
# echo Unencrypting key for travis
44+
# openssl aes-256-cbc -K $encrypted_cd38768cbb9d_key -iv $encrypted_cd38768cbb9d_iv -in scripts/id_rsa.enc -out scripts/id_rsa -d
45+
# fi
46+
47+
# cp scripts/ssh_config ~/.ssh/config
48+
# chmod 600 scripts/id_rsa
49+
# scp -i scripts/id_rsa commandLine/bin/projectGenerator tests@198.61.170.130:projectGenerator_builds/projectGenerator_linux_new
50+
# ssh -i scripts/id_rsa tests@198.61.170.130 "mv projectGenerator_builds/projectGenerator_linux_new projectGenerator_builds/projectGenerator_linux"
51+
# fi
52+
# rm -rf scripts/id_rsa
53+
# fi

0 commit comments

Comments
 (0)