Skip to content

Commit 3c47633

Browse files
chriswmackeyChris Mackey
authored andcommitted
fix(deploy): Fix deployment stage
1 parent 4ed0d00 commit 3c47633

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.releaserc.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"plugins": [
3+
"@semantic-release/commit-analyzer",
4+
"@semantic-release/release-notes-generator",
5+
"@semantic-release/github",
6+
[
7+
"@semantic-release/exec",
8+
{
9+
"publishCmd": "bash deploy.sh"
10+
}
11+
]
12+
]
13+
}

deploy.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
3+
echo "Building distribution"
4+
# python setup.py sdist bdist_wheel
5+
echo "Pushing new version to PyPi"
6+
# twine upload dist/* -u $PYPI_USERNAME -p $PYPI_PASSWORD

0 commit comments

Comments
 (0)