diff --git a/package.json b/package.json index c07a585..200ae77 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "start:dev": "yarn build && node --async-stack-traces lib/index.js", "test": "ts-mocha --project ./tsconfig.json test/commands/**/*.ts", "test:integration": "NODE_ENV=harness ts-mocha --async-stack-traces --require test/integration/fixtures.ts --project ./tsconfig.json \"test/integration/**/*Test.ts\"", - "test:manual": "NODE_ENV=harness ts-node test/integration/manualLaunchScript.ts" + "test:manual": "NODE_ENV=harness ts-node test/integration/manualLaunchScript.ts", + "version": "sed -i '/# version automated/s/[0-9][0-9]*\\.[0-9][0-9]*\\.[0-9][0-9]*/'$npm_package_version'/' synapse_antispam/setup.py && git add synapse_antispam/setup.py && cat synapse_antispam/setup.py" }, "devDependencies": { "@types/config": "0.0.41", diff --git a/synapse_antispam/setup.py b/synapse_antispam/setup.py index ad0b4f1..93029b3 100644 --- a/synapse_antispam/setup.py +++ b/synapse_antispam/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name="mjolnir", - version="0.1.0", + version="0.1.0", # version automated in package.json - Do not edit this line, use `yarn version`. packages=find_packages(), description="Mjolnir Antispam", include_package_data=True,