publish based on tag releases instead of main releases
This commit is contained in:
parent
db18183c94
commit
6081122e88
@ -100,6 +100,7 @@ jobs:
|
|||||||
name: publish
|
name: publish
|
||||||
command: |
|
command: |
|
||||||
: \
|
: \
|
||||||
|
&& [ $CIRCLE_TAG ] \
|
||||||
&& pnpm build \
|
&& pnpm build \
|
||||||
&& pnpm version $(git describe --tags) \
|
&& pnpm version $(git describe --tags) \
|
||||||
&& pnpm set //registry.npmjs.org/:_authToken=$NPM_TOKEN \
|
&& pnpm set //registry.npmjs.org/:_authToken=$NPM_TOKEN \
|
||||||
@ -114,8 +115,10 @@ workflows:
|
|||||||
requires: [python-test]
|
requires: [python-test]
|
||||||
context: [pypi-yage]
|
context: [pypi-yage]
|
||||||
filters:
|
filters:
|
||||||
|
tags:
|
||||||
|
only: /^v.*$/
|
||||||
branches:
|
branches:
|
||||||
only: main
|
ignore: /^.*$/
|
||||||
|
|
||||||
nodejs:
|
nodejs:
|
||||||
jobs:
|
jobs:
|
||||||
@ -124,5 +127,7 @@ workflows:
|
|||||||
requires: [nodejs-test]
|
requires: [nodejs-test]
|
||||||
context: [npm-wrynegade]
|
context: [npm-wrynegade]
|
||||||
filters:
|
filters:
|
||||||
|
tags:
|
||||||
|
only: /^v.*$/
|
||||||
branches:
|
branches:
|
||||||
only: main
|
ignore: /^.*$/
|
||||||
|
Loading…
Reference in New Issue
Block a user