Compare commits
3 Commits
v4.0.5
...
v4-develop
Author | SHA1 | Date | |
---|---|---|---|
6081122e88 | |||
db18183c94 | |||
fec8c5e560 |
@ -30,7 +30,6 @@ jobs:
|
|||||||
&& pip install . .[test] \
|
&& pip install . .[test] \
|
||||||
&& pytest \
|
&& pytest \
|
||||||
;
|
;
|
||||||
- run: pip install build && python -m build
|
|
||||||
|
|
||||||
python-publish:
|
python-publish:
|
||||||
executor: python
|
executor: python
|
||||||
@ -38,7 +37,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout:
|
- checkout:
|
||||||
path: ~/scwrypts
|
path: ~/scwrypts
|
||||||
- run: pip install build && python -m build
|
- python/dist
|
||||||
- run: pip install twine && twine upload dist/*
|
- run: pip install twine && twine upload dist/*
|
||||||
|
|
||||||
nodejs-test:
|
nodejs-test:
|
||||||
@ -103,56 +102,32 @@ jobs:
|
|||||||
: \
|
: \
|
||||||
&& [ $CIRCLE_TAG ] \
|
&& [ $CIRCLE_TAG ] \
|
||||||
&& pnpm build \
|
&& pnpm build \
|
||||||
&& pnpm version $CIRCLE_TAG \
|
&& pnpm version $(git describe --tags) \
|
||||||
&& pnpm set //registry.npmjs.org/:_authToken=$NPM_TOKEN \
|
&& pnpm set //registry.npmjs.org/:_authToken=$NPM_TOKEN \
|
||||||
&& pnpm publish --no-git-checks \
|
&& pnpm publish --no-git-checks \
|
||||||
;
|
;
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
python-dev:
|
|
||||||
jobs:
|
|
||||||
- python-test:
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
ignore: /^main$/
|
|
||||||
|
|
||||||
python:
|
python:
|
||||||
jobs:
|
jobs:
|
||||||
- python-test:
|
- python-test
|
||||||
filters:
|
|
||||||
tags:
|
|
||||||
only: /^v\d+\.\d+\.\d+.*$/
|
|
||||||
branches:
|
|
||||||
ignore: /^.*$/
|
|
||||||
- python-publish:
|
- python-publish:
|
||||||
requires: [python-test]
|
requires: [python-test]
|
||||||
context: [pypi-yage]
|
context: [pypi-yage]
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only: /^v\d+\.\d+\.\d+.*$/
|
only: /^v.*$/
|
||||||
branches:
|
branches:
|
||||||
ignore: /^.*$/
|
ignore: /^.*$/
|
||||||
|
|
||||||
nodejs-dev:
|
|
||||||
jobs:
|
|
||||||
- nodejs-test:
|
|
||||||
filters:
|
|
||||||
branches:
|
|
||||||
ignore: /^main$/
|
|
||||||
|
|
||||||
nodejs:
|
nodejs:
|
||||||
jobs:
|
jobs:
|
||||||
- nodejs-test:
|
- nodejs-test
|
||||||
filters:
|
|
||||||
tags:
|
|
||||||
only: /^v\d+\.\d+\.\d+.*$/
|
|
||||||
branches:
|
|
||||||
ignore: /^.*$/
|
|
||||||
- nodejs-publish:
|
- nodejs-publish:
|
||||||
requires: [nodejs-test]
|
requires: [nodejs-test]
|
||||||
context: [npm-wrynegade]
|
context: [npm-wrynegade]
|
||||||
filters:
|
filters:
|
||||||
tags:
|
tags:
|
||||||
only: /^v\d+\.\d+\.\d+.*$/
|
only: /^v.*$/
|
||||||
branches:
|
branches:
|
||||||
ignore: /^.*$/
|
ignore: /^.*$/
|
||||||
|
3
py/lib/.gitignore
vendored
3
py/lib/.gitignore
vendored
@ -1,4 +1 @@
|
|||||||
dist/
|
dist/
|
||||||
__pycache__/
|
|
||||||
*.py[cod]
|
|
||||||
*.so
|
|
||||||
|
@ -55,5 +55,6 @@ source = 'versioningit'
|
|||||||
[tool.hatch.build.targets.wheel]
|
[tool.hatch.build.targets.wheel]
|
||||||
packages = ['./']
|
packages = ['./']
|
||||||
|
|
||||||
[tool.versioningit.vcs]
|
[tool.versioningit]
|
||||||
match = ['v[0-9]*.[0-9]*.[0-9]*']
|
match = ['v*']
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user