Skip to content

Commit

Permalink
ci: add publish
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Jun 8, 2021
1 parent 6a63509 commit bad9a5c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,20 @@
[
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec",
{
"prepareCmd": "source $HOME/.poetry/env ;poetry version ${nextRelease.version}; poetry build",
"publishCmd": "source $HOME/.poetry/env ;poetry publish ;poetry publish --build -u $PYPI_USERNAME -p $PYPI_TOKEN"
},
],
[
"@semantic-release/git",
{
"assets": ["NOTICE"],
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}",
},
],
["@semantic-release/github", { "assets": ["NOTICE", "dist/*"] }],
["@semantic-release/github", { "assets": ["NOTICE", "pyproject.toml"] }],
],
}

0 comments on commit bad9a5c

Please sign in to comment.