summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfozworth <>2019-11-08 15:20:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2019-11-08 15:20:00 (GMT)
commit4ea98e7d42d65262d56472531e06b8f84d4c284d (patch)
tree570218698cb628820daa77543aa092c1caeb7482
parent958c70d38835d7be272c245780e2dd37ba2a5979 (diff)
version 1.2.5HEAD1.2.5master
-rw-r--r--github-release.cabal12
-rw-r--r--library/GitHubRelease.hs2
2 files changed, 8 insertions, 6 deletions
diff --git a/github-release.cabal b/github-release.cabal
index 4a56a48..4e4a46e 100644
--- a/github-release.cabal
+++ b/github-release.cabal
@@ -4,10 +4,10 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack
--
--- hash: 1d976dbb437504ff027a6862a106ab58b1614347b202f6b8a85b55ded7708be4
+-- hash: 9419b8e057b343f1468d097cc2d93fc73794949eb759490d2066954ca1d9bd50
name: github-release
-version: 1.2.4
+version: 1.2.5
synopsis: Upload files to GitHub releases.
description: GitHub Release uploads files to GitHub releases.
category: Utility
@@ -32,7 +32,7 @@ library
ghc-options: -Weverything -Wno-implicit-prelude -Wno-safe -Wno-unsafe
build-depends:
aeson >=0.11.2 && <0.12 || >=1.0.2 && <1.5
- , base >=4.9.0 && <4.13
+ , base >=4.9.0 && <4.14
, bytestring >=0.10.8 && <0.11
, http-client >=0.4.31 && <0.7
, http-client-tls >=0.2.4 && <0.4
@@ -44,6 +44,8 @@ library
, uri-templater >=0.2.1 && <0.4
if impl(ghc >= 8.4)
ghc-options: -Wno-partial-fields
+ if impl(ghc >= 8.8.1)
+ ghc-options: -Wno-missing-deriving-strategies
default-language: Haskell2010
executable github-release
@@ -55,7 +57,7 @@ executable github-release
ghc-options: -Weverything -Wno-implicit-prelude -Wno-safe -Wno-unsafe -rtsopts -threaded
build-depends:
aeson >=0.11.2 && <0.12 || >=1.0.2 && <1.5
- , base >=4.9.0 && <4.13
+ , base >=4.9.0 && <4.14
, bytestring >=0.10.8 && <0.11
, github-release
, http-client >=0.4.31 && <0.7
@@ -68,4 +70,6 @@ executable github-release
, uri-templater >=0.2.1 && <0.4
if impl(ghc >= 8.4)
ghc-options: -Wno-partial-fields
+ if impl(ghc >= 8.8.1)
+ ghc-options: -Wno-missing-deriving-strategies
default-language: Haskell2010
diff --git a/library/GitHubRelease.hs b/library/GitHubRelease.hs
index 5d322d0..a2303cc 100644
--- a/library/GitHubRelease.hs
+++ b/library/GitHubRelease.hs
@@ -26,8 +26,6 @@ import qualified Data.Aeson as Aeson
import qualified Data.ByteString.Char8 as BS8
import qualified Data.ByteString.Lazy as BSL
import qualified Data.HashMap.Strict as HashMap
-import Data.Maybe (maybe)
-import Data.Monoid ((<>))
import qualified Data.Text as Text
import qualified Data.Version as Version
import qualified GHC.Generics as Generics