Skip to content
Snippets Groups Projects
Commit a00743f6 authored by jenkins's avatar jenkins
Browse files

New release.

parents 2dc8fda8 4d03e5d5
No related branches found
Tags
No related merge requests found
......@@ -226,12 +226,10 @@ function package_snap()
ls packages/${DISTRIBUTION}*
cp packages/${DISTRIBUTION}*/*.snap ${DISTRIBUTION_REPOSITORY_FOLDER}/
elif [[ $CHANNEL =~ nightly ]]; then
snapcraft whoami || true
snapcraft logout || true
export SNAPCRAFT_STORE_CREDENTIALS=$(cat /var/lib/jenkins/.snap/key)
snapcraft login || true
snapcraft whoami || true
snapcraft push --verbose packages/${DISTRIBUTION}*/*.snap --release edge
echo $(hostname)
echo $(whoami)
echo $(snapcraft whoami)
snapcraft push packages/${DISTRIBUTION}*/*.snap --release edge
elif [[ $CHANNEL =~ stable ]]; then
snapcraft push packages/${DISTRIBUTION}*/*.snap --release stable
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment