diff --git a/pit2trello.nimble b/pit2trello.nimble index 112b739..a1f2035 100644 --- a/pit2trello.nimble +++ b/pit2trello.nimble @@ -1,6 +1,6 @@ # Package -version = "0.2.0" +version = "0.2.1" author = "Jonathan Bernard" description = "Synchronization tool between JDB pit and Trello." license = "MIT" diff --git a/src/pit2trello.nim b/src/pit2trello.nim index 3dbc807..1dadc33 100644 --- a/src/pit2trello.nim +++ b/src/pit2trello.nim @@ -209,6 +209,10 @@ proc syncContext( for lentIssue in unmatchedIssues: let issue = lentIssue + + # Don't worry about creating new cards for issues that are done. + if issue.state == Done: continue + let list = board.lists[listCategoryForIssueState(issue.state)][0] let newCard = TrelloCard( name: issue.summary, diff --git a/src/pit2trellopkg/cliconstants.nim b/src/pit2trellopkg/cliconstants.nim index 647a9b0..9e7a19c 100644 --- a/src/pit2trellopkg/cliconstants.nim +++ b/src/pit2trellopkg/cliconstants.nim @@ -1,4 +1,4 @@ -const PIT2TRELLO_VERSION* = "0.2.0" +const PIT2TRELLO_VERSION* = "0.2.1" const USAGE* = """ Usage: @@ -15,4 +15,4 @@ Options: --debug Enable verbose debug logging. --help Print this help and usage information. -""" +""" \ No newline at end of file