Skip to content

Commit

Permalink
Fix Snapcraft again (#1072)
Browse files Browse the repository at this point in the history
  • Loading branch information
c4ffein authored Mar 31, 2020
1 parent 7da3da6 commit 35303d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
pre-commit run --all-files --show-diff-on-failure
displayName: 'Pre-commit hooks check'
- bash: |
if ([[ $(Build.SourcesDirectory) = "refs/heads/master" ]] || [[ $(Build.SourcesDirectory) = "refs/tags/"* ]])
if ([[ $(Build.SourceBranch) = "refs/heads/master" ]] || [[ $(Build.SourceBranch) = "refs/tags/"* ]])
then exit 0; fi
for FILENAME in newsfragments/*
do
Expand Down Expand Up @@ -295,6 +295,8 @@ jobs:
sudo snap install snapcraft --classic
echo $SNAPCRAFT_CREDENTIALS | snapcraft login --with -
snapcraft push --release=edge $(Pipeline.Workspace)/linux_amd64_snap/parsec*.snap
env:
SNAPCRAFT_CREDENTIALS: $(SNAPCRAFT_CREDENTIALS)
displayName: 'Upload Snap'
Expand Down
Empty file added newsfragments/1072.empty.rst
Empty file.

0 comments on commit 35303d3

Please sign in to comment.