Skip to content

Commit

Permalink
Implement @hdgarrood's suggestion for psc-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
paf31 committed Sep 9, 2015
1 parent 5fdc977 commit 6d8efc2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Language/PureScript/Publish/ErrorsWarnings.hs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,12 @@ displayUserError e = case e of
, para "Note: tagged versions must be in one of the following forms:"
, indented (para "* v{MAJOR}.{MINOR}.{PATCH} (example: \"v1.6.2\")")
, indented (para "* {MAJOR}.{MINOR}.{PATCH} (example: \"1.6.2\")")
, spacer
, para (concat
[ "If the version you are publishing is not yet tagged, you might want to use"
, "the --dry-run flag instead, which removes this requirement. Run"
, "psc-publish --help for more details."
])
]
AmbiguousVersions vs ->
vcat $
Expand Down

0 comments on commit 6d8efc2

Please sign in to comment.