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