mirror of
https://github.com/lingble/twenty.git
synced 2025-10-29 20:02:29 +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
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user