Skip to content

Commit

Permalink
Use single token for both snaps
Browse files Browse the repository at this point in the history
Now that we refreshed tokens, only use one for both communitheme and
gtk-common-themes snaps.
  • Loading branch information
didrocks committed Apr 29, 2019
1 parent cf5d3b2 commit 58f4ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-helpers/prepare-build-snap
Expand Up @@ -44,7 +44,7 @@ sed -e "s,CHANNEL,$channel,g" -e "s,REPO,$TRAVIS_REPO_SLUG," -e "s,BRANCH,$YARU_

# build and push gtk-common-themes snap
cmd="sed -i s/xenial/bionic/g /etc/apt/sources.list && apt update -qq && cd $(pwd) && snapcraft"
cmd="$cmd && echo \"$SNAP_COMMON_THEMES_TOKEN\" | snapcraft login --with - && snapcraft push *.snap --release=$channel"
cmd="$cmd && echo \"$SNAP_TOKEN\" | snapcraft login --with - && snapcraft push *.snap --release=$channel"
docker run -v $(pwd):$(pwd) -t snapcore/snapcraft:stable sh -c "$cmd"

# write on PR install instructions for the snap branch
Expand Down

0 comments on commit 58f4ece

Please sign in to comment.