Skip to content

Commit

Permalink
fix: release workflow (twentyhq#5053)
Browse files Browse the repository at this point in the history
Couple fixes to the release workflow in order to make it work as
intended
  • Loading branch information
Freebios authored Apr 19, 2024
1 parent 3a95924 commit 9c8cb52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ 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
run: |
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:
Expand Down

0 comments on commit 9c8cb52

Please sign in to comment.