From 9c8cb52952680f94eebbc0210d897c05eb64ef0d Mon Sep 17 00:00:00 2001 From: Quentin G Date: Fri, 19 Apr 2024 15:16:48 +0200 Subject: [PATCH] fix: release workflow (#5053) Couple fixes to the release workflow in order to make it work as intended --- .github/workflows/ci-release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-release.yaml b/.github/workflows/ci-release.yaml index fe653e467..21acd468d 100644 --- a/.github/workflows/ci-release.yaml +++ b/.github/workflows/ci-release.yaml @@ -21,7 +21,7 @@ jobs: - name: Sanitize version id: sanitize run: | - echo version=$(echo ${{ github.event.inputs.version }} | sed 's/^v//') >> $GITHUB_ENV + echo version=$(echo ${{ github.event.inputs.version }} | sed 's/^v//') >> $GITHUB_OUTPUT - name: Update versions working-directory: packages @@ -29,13 +29,13 @@ jobs: for dir in twenty-docs twenty-emails twenty-front twenty-server twenty-ui twenty-website do cd $dir - npm version ${{ steps.sanitize.outputs.version }} --no-git-tag-version + yarn version ${{ steps.sanitize.outputs.version }} cd .. done # Make sure we have the latest changes before committing - name: Pull changes - run: git pull --rebase + run: git pull - uses: stefanzweifel/git-auto-commit-action@v4 with: