Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Commit

Permalink
Quote temp path to fix windows release
Browse files Browse the repository at this point in the history
  • Loading branch information
jneira committed Jan 8, 2020
1 parent d22032f commit 60ff59d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .azure/linux-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ jobs:
else
GHC_MINOR_VERSION=nightly
fi
stack unpack hlint --stack-yaml ../$(YAML_FILE) --to $(Agent.TempDirectory)
stack unpack hlint --stack-yaml ../$(YAML_FILE) --to "$(Agent.TempDirectory)"
mkdir -p data
cp $(Agent.TempDirectory)/hlint*/data/hlint.yaml data
cp "$(Agent.TempDirectory)"/hlint*/data/hlint.yaml data
ARTIFACT_NAME=hie-$(hie --numeric-version)-ghc-$GHC_MINOR_VERSION-linux-x86_64
tar -vczf $(Build.ArtifactStagingDirectory)/$ARTIFACT_NAME.tar.xz *
displayName: Install `hie`
Expand Down
4 changes: 2 additions & 2 deletions .azure/macos-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ jobs:
else
GHC_MINOR_VERSION=nightly
fi
stack unpack hlint --stack-yaml ../$(YAML_FILE) --to $(Agent.TempDirectory)
stack unpack hlint --stack-yaml ../$(YAML_FILE) --to "$(Agent.TempDirectory)"
mkdir -p data
cp $(Agent.TempDirectory)/hlint*/data/hlint.yaml data
cp "$(Agent.TempDirectory)"/hlint*/data/hlint.yaml data
ARTIFACT_NAME=hie-$(hie --numeric-version)-ghc-$GHC_MINOR_VERSION-macos-x86_64
tar -vczf $(Build.ArtifactStagingDirectory)/$ARTIFACT_NAME.tar.xz *
displayName: Install `hie`
Expand Down
4 changes: 2 additions & 2 deletions .azure/windows-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ jobs:
else
GHC_MINOR_VERSION=nightly
fi
stack unpack hlint --stack-yaml ../$(YAML_FILE) --to $(Agent.TempDirectory)
stack unpack hlint --stack-yaml ../$(YAML_FILE) --to "$(Agent.TempDirectory)"
mkdir -p data
cp $(Agent.TempDirectory)/hlint*/data/hlint.yaml data
cp "$(Agent.TempDirectory)"/hlint*/data/hlint.yaml data
ARTIFACT_NAME=hie-$(hie --numeric-version)-ghc-$GHC_MINOR_VERSION-windows-x86_64
7z a "$(Build.ArtifactStagingDirectory)/$ARTIFACT_NAME.zip" *
displayName: Install `hie`
Expand Down

0 comments on commit 60ff59d

Please sign in to comment.