Skip to content

Commit

Permalink
fix(python): fix deploy script with twine
Browse files Browse the repository at this point in the history
  • Loading branch information
FGRibreau committed Oct 14, 2019
1 parent 99e44f9 commit 6d348f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"release-cross": "npm run changelog-git && npm run publish-gem && npm run publish-python && npm run publish-cargo",
"publish-gem": "sed -E -i '' \"s/spec.version[[:space:]]*=(.*)/spec.version='${npm_package_version}'/g\" *.gemspec && (git add *.gemspec && git commit -m \"feat(gemspec): updated to ${npm_package_version}\" || true) && gem build *.gemspec && gem push ruby-mailchecker-${npm_package_version}.gem",
"publish-cargo": "cd platform/rust && sed -E -i '' \"s/version[[:space:]]*=(.*)/version = \\\"${npm_package_version}\\\"/g\" Cargo.toml && (git add Cargo.toml Cargo.lock && git commit -m \"feat(cargo): updated to ${npm_package_version}\" || true) && cargo package && git add Cargo.lock && git commit -m 'chore: update Cargo.lock' && cargo publish",
"publish-python": "cd platform/python && sed -E -i '' \"s/version[[:space:]]*=(.*)/version = \\\"${npm_package_version}\\\",/g\" setup.py && (git add setup.py && git commit -m \"feat(python): updated to ${npm_package_version}\" || true) && python3 setup.py sdist && twine upload dist/*"
"publish-python": "cd platform/python && sed -E -i '' \"s/version[[:space:]]*=(.*)/version = \\\"${npm_package_version}\\\",/g\" setup.py && (git add setup.py && git commit -m \"feat(python): updated to ${npm_package_version}\" || true) && rm -rf dist/* && python3 setup.py sdist && twine upload dist/*"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 6d348f6

Please sign in to comment.