mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-23 12:02:10 +03:00
fix: release workflow (#5053)
Couple fixes to the release workflow in order to make it work as intended
This commit is contained in:
parent
3a959248f9
commit
9c8cb52952
6
.github/workflows/ci-release.yaml
vendored
6
.github/workflows/ci-release.yaml
vendored
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user