Skip to content

Commit

Permalink
Add deployment version condition.
Browse files Browse the repository at this point in the history
- Update ghc in CI to 8.10.2
- Limit CI deployments to ghc 8.10.2
  • Loading branch information
marcelbuesing committed Aug 25, 2020
1 parent b9ec01e commit 22f55f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .travis.yml
Expand Up @@ -12,8 +12,9 @@ matrix:
ghc: 8.6.5
- env: GHCVER=8.8.3 STACK_YAML=stack-8.8.yaml
ghc: 8.8.3
- env: GHCVER=8.10.1
ghc: 8.10.1
# Make sure to update the version condition in the deploy step
- env: GHCVER=8.10.2
ghc: 8.10.2
before_install:
- mkdir -p ~/.local/bin
- export PATH=$HOME/.local/bin:$PATH
Expand Down Expand Up @@ -51,3 +52,4 @@ deploy:
on:
repo: marcelbuesing/sendgrid-v3
tags: true
condition: $TRAVIS_HASKELL_VERSION = 8.10.2
2 changes: 1 addition & 1 deletion sendgrid-v3.cabal
Expand Up @@ -18,7 +18,7 @@ cabal-version: >=1.10
tested-with:
GHC ==8.6.5
|| ==8.8.3
|| ==8.10.1
|| ==8.10.2
source-repository head
type: git
location: https://github.com/marcelbuesing/sendgrid-v3
Expand Down

1 comment on commit 22f55f9

@domenkozar
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any chance of uploading a hackage package?

Please sign in to comment.