Skip to content

Commit

Permalink
removing snapcraft login
Browse files Browse the repository at this point in the history
  • Loading branch information
vandr0iy committed Jan 22, 2021
1 parent 2985c1e commit 29cd13b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions build/release.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
#!/bin/bash
set -e

if [ -z ${CIRCLE_TAG} ]; then
if [ -z "${CIRCLE_TAG}" ]; then
echo "No Tag = No Release"
else
echo "Release: ${CIRCLE_TAG}"
openssl aes-256-cbc -d \
-in .circleci/credentials.enc \
-out credentials \
-k ${SNAP_CRED_PASSWORD}
snapcraft login --with credentials
rm credentials
# openssl aes-256-cbc -d \
# -in .circleci/credentials.enc \
# -out credentials \
# -k ${SNAP_CRED_PASSWORD}
# snapcraft login --with credentials
# rm credentials
goreleaser
find dist -name "skuld*.snap" | xargs snapcraft push --release edge
# find dist -name "skuld*.snap" | xargs snapcraft push --release edge
fi

0 comments on commit 29cd13b

Please sign in to comment.