Skip to content

Commit

Permalink
feat(package.json): add publish-cargo
Browse files Browse the repository at this point in the history
  • Loading branch information
FGRibreau committed Jan 28, 2017
1 parent a4ab6f1 commit 556a606
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 @@ -14,7 +14,7 @@
"release-after-pr": "git pull --rebase && npm run build && npm run test && git commit -a -m 'feat(build): update plateform files' && npm run release-patch",
"release-patch": "npm-release patch && npm run changelog-git && npm run publish-gem",
"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 *.gemspec && git commit -m \"feat(cargo): updated to ${npm_package_version}\" || true) && cargo package && cargo publish"
"publish-cargo": "cd platform/rust && sed -E -i '' \"s/version[[:space:]]*=(.*)/version = \\\"${npm_package_version}\\\"/g\" Cargo.toml && (git add Cargo.toml && git commit -m \"feat(cargo): updated to ${npm_package_version}\" || true) && cargo package && cargo publish"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 556a606

Please sign in to comment.