fix: executando sed somente depois de mover o arquivo
This commit is contained in:
parent
ead481cdef
commit
ecbedabd9f
1 changed files with 1 additions and 1 deletions
|
@ -20,9 +20,9 @@ pipelines:
|
||||||
name: Prepare Package
|
name: Prepare Package
|
||||||
script:
|
script:
|
||||||
- apk add git
|
- apk add git
|
||||||
- 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/
|
- cp package.json dist/
|
||||||
|
- sed -i s/$BITBUCKET_REPO_SLUG/$BITBUCKET_REPO_SLUG-dev/ dist/package.json
|
||||||
- git push
|
- git push
|
||||||
artifacts:
|
artifacts:
|
||||||
- dist/**
|
- dist/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue