From ecbedabd9f84ab284f6ab9448f1d8c3d813ea0b1 Mon Sep 17 00:00:00 2001 From: Leandro Costa Date: Thu, 15 Jun 2023 14:57:28 -0300 Subject: [PATCH] fix: executando sed somente depois de mover o arquivo --- bitbucket-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index b231fdf..9362e13 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -20,9 +20,9 @@ pipelines: name: Prepare Package script: - apk add git - - 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/ + - sed -i s/$BITBUCKET_REPO_SLUG/$BITBUCKET_REPO_SLUG-dev/ dist/package.json - git push artifacts: - dist/**