mirror of
https://github.com/lingble/twenty.git
synced 2025-11-01 13:17:57 +00:00
fix: release workflow (#5053)
Couple fixes to the release workflow in order to make it work as intended
This commit is contained in:
6
.github/workflows/ci-release.yaml
vendored
6
.github/workflows/ci-release.yaml
vendored
@@ -21,7 +21,7 @@ jobs:
|
|||||||
- name: Sanitize version
|
- name: Sanitize version
|
||||||
id: sanitize
|
id: sanitize
|
||||||
run: |
|
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
|
- name: Update versions
|
||||||
working-directory: packages
|
working-directory: packages
|
||||||
@@ -29,13 +29,13 @@ jobs:
|
|||||||
for dir in twenty-docs twenty-emails twenty-front twenty-server twenty-ui twenty-website
|
for dir in twenty-docs twenty-emails twenty-front twenty-server twenty-ui twenty-website
|
||||||
do
|
do
|
||||||
cd $dir
|
cd $dir
|
||||||
npm version ${{ steps.sanitize.outputs.version }} --no-git-tag-version
|
yarn version ${{ steps.sanitize.outputs.version }}
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
|
|
||||||
# Make sure we have the latest changes before committing
|
# Make sure we have the latest changes before committing
|
||||||
- name: Pull changes
|
- name: Pull changes
|
||||||
run: git pull --rebase
|
run: git pull
|
||||||
|
|
||||||
- uses: stefanzweifel/git-auto-commit-action@v4
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user