fix: copiando package.json apos incremento da versao

This commit is contained in:
Leandro Costa 2023-06-15 14:54:32 -03:00
parent 4dd8b74b6c
commit eb30d0e0ac

View file

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