Compare commits
7 Commits
v4-develop
...
v4.0.6
Author | SHA1 | Date | |
---|---|---|---|
e1b6c3e4f0 | |||
1adb45d75e | |||
62ab5404cf | |||
e43c07f75a | |||
fc5f80232e | |||
695eea2985 | |||
a739d3b5a2 |
@ -30,6 +30,7 @@ jobs:
|
||||
&& pip install . .[test] \
|
||||
&& pytest \
|
||||
;
|
||||
- run: pip install build && python -m build
|
||||
|
||||
python-publish:
|
||||
executor: python
|
||||
@ -37,7 +38,7 @@ jobs:
|
||||
steps:
|
||||
- checkout:
|
||||
path: ~/scwrypts
|
||||
- python/dist
|
||||
- run: pip install build && python -m build
|
||||
- run: pip install twine && twine upload dist/*
|
||||
|
||||
nodejs-test:
|
||||
@ -102,32 +103,56 @@ jobs:
|
||||
: \
|
||||
&& [ $CIRCLE_TAG ] \
|
||||
&& pnpm build \
|
||||
&& pnpm version $(git describe --tags) \
|
||||
&& pnpm version $CIRCLE_TAG \
|
||||
&& pnpm set //registry.npmjs.org/:_authToken=$NPM_TOKEN \
|
||||
&& pnpm publish --no-git-checks \
|
||||
;
|
||||
|
||||
workflows:
|
||||
python-dev:
|
||||
jobs:
|
||||
- python-test:
|
||||
filters:
|
||||
branches:
|
||||
ignore: /^main$/
|
||||
|
||||
python:
|
||||
jobs:
|
||||
- python-test
|
||||
- python-test:
|
||||
filters:
|
||||
tags:
|
||||
only: /^v\d+\.\d+\.\d+.*$/
|
||||
branches:
|
||||
ignore: /^.*$/
|
||||
- python-publish:
|
||||
requires: [python-test]
|
||||
context: [pypi-yage]
|
||||
filters:
|
||||
tags:
|
||||
only: /^v.*$/
|
||||
only: /^v\d+\.\d+\.\d+.*$/
|
||||
branches:
|
||||
ignore: /^.*$/
|
||||
|
||||
nodejs-dev:
|
||||
jobs:
|
||||
- nodejs-test:
|
||||
filters:
|
||||
branches:
|
||||
ignore: /^main$/
|
||||
|
||||
nodejs:
|
||||
jobs:
|
||||
- nodejs-test
|
||||
- nodejs-test:
|
||||
filters:
|
||||
tags:
|
||||
only: /^v\d+\.\d+\.\d+.*$/
|
||||
branches:
|
||||
ignore: /^.*$/
|
||||
- nodejs-publish:
|
||||
requires: [nodejs-test]
|
||||
context: [npm-wrynegade]
|
||||
filters:
|
||||
tags:
|
||||
only: /^v.*$/
|
||||
only: /^v\d+\.\d+\.\d+.*$/
|
||||
branches:
|
||||
ignore: /^.*$/
|
||||
|
3
py/lib/.gitignore
vendored
3
py/lib/.gitignore
vendored
@ -1 +1,4 @@
|
||||
dist/
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*.so
|
||||
|
@ -55,6 +55,5 @@ source = 'versioningit'
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ['./']
|
||||
|
||||
[tool.versioningit]
|
||||
match = ['v*']
|
||||
|
||||
[tool.versioningit.vcs]
|
||||
match = ['v[0-9]*.[0-9]*.[0-9]*']
|
||||
|
@ -41,7 +41,7 @@ def scwrypts(*args, patterns=None, name=None, group=None, _type=None, log_level=
|
||||
depth = int(depth) + 1
|
||||
|
||||
return run(
|
||||
f'SUBSCWRYPT={depth} {executable} {pre_args} -- {" ".join(args)}',
|
||||
f'SUBSCWRYPT={depth} {executable} {" ".join(pre_args)} -- {" ".join(args)}',
|
||||
shell=True,
|
||||
executable='/bin/zsh',
|
||||
check=False,
|
||||
|
Reference in New Issue
Block a user