github-release-1.2.0: Upload files to GitHub releases.

Safe HaskellNone
LanguageHaskell2010

GitHubRelease

Documentation

data Command Source #

Constructors

Upload 

Fields

Release 

Fields

Version 

Instances

Show Command Source # 
Generic Command Source # 

Associated Types

type Rep Command :: * -> * #

Methods

from :: Command -> Rep Command x #

to :: Rep Command x -> Command #

ParseRecord Command Source # 
type Rep Command Source # 
type Rep Command = D1 * (MetaData "Command" "GitHubRelease" "github-release-1.2.0-8J1KsWGDRL3CSh49u9td32" False) ((:+:) * (C1 * (MetaCons "Upload" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "file") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ((<?>) FilePath "The path to the local file to upload."))) ((:*:) * (S1 * (MetaSel (Just Symbol "name") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ((<?>) String "The name to give the file on the release."))) (S1 * (MetaSel (Just Symbol "owner") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ((<?>) (Maybe String) "The GitHub owner, either a user or organization."))))) ((:*:) * (S1 * (MetaSel (Just Symbol "repo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ((<?>) String "The GitHub repository name."))) ((:*:) * (S1 * (MetaSel (Just Symbol "tag") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ((<?>) String "The tag name."))) (S1 * (MetaSel (Just Symbol "token") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ((<?>) String "Your OAuth2 token."))))))) ((:+:) * (C1 * (MetaCons "Release" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "title") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ((<?>) String "The name of the release"))) (S1 * (MetaSel (Just Symbol "owner") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ((<?>) (Maybe String) "The GitHub owner, either a user or organization.")))) ((:*:) * (S1 * (MetaSel (Just Symbol "repo") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ((<?>) String "The GitHub repository name."))) (S1 * (MetaSel (Just Symbol "tag") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ((<?>) String "The tag name."))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "description") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ((<?>) (Maybe String) "Release description."))) (S1 * (MetaSel (Just Symbol "token") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ((<?>) String "Your OAuth2 token.")))) ((:*:) * (S1 * (MetaSel (Just Symbol "preRelease") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ((<?>) (Maybe Bool) "Indicates if this is a pre-release."))) (S1 * (MetaSel (Just Symbol "draft") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * ((<?>) (Maybe Bool) "Indicates if this is a draft."))))))) (C1 * (MetaCons "Version" PrefixI False) (U1 *))))

main :: IO () Source #