more robust

This commit is contained in:
gnuxie 2022-04-08 12:31:47 +01:00
parent 307a444054
commit 528b87466d
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
"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",
"version": "sed -i 's/[0-9]\\.[0-9]\\.[0-9]/'$npm_package_version'/g' synapse_antispam/setup.py && git add synapse_antispam/setup.py && cat synapse_antispam/setup.py"
"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",

View File

@ -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,