Merged in development (pull request #5)

fix: copiando package.json apos incremento da versao
This commit is contained in:
Leandro Costa 2023-06-15 17:56:33 +00:00
commit a7f163c868

View file

@ -14,15 +14,15 @@ pipelines:
branches:
default:
<<: *build-and-test
'{development,realease-no-verify/*}':
"{development,realease-no-verify/*}":
- step: *build-and-test
- step:
name: Prepare Package
script:
- apk add git
- cp package.json dist/
- sed -i s/$BITBUCKET_REPO_SLUG/$BITBUCKET_REPO_SLUG-dev/ dist/package.json
- npm version patch -m "[skip CI] Version %s"
- cp package.json dist/
- git push
artifacts:
- dist/**
@ -49,4 +49,4 @@ pipelines:
- pipe: atlassian/npm-publish:0.2.0
variables:
NPM_TOKEN: $NPM_TOKEN
FOLDER: dist
FOLDER: dist