Skip to content

Commit

Permalink
update working directory (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
onlyjackfrost authored Oct 28, 2024
1 parent feb9c98 commit c444bb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ui-release-image-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
id: changelog
run: |
echo "Generating change log..."
PREVIOUS_VERSION=release/ui/$(cd wren-ui && yarn version --json | grep '"data"' | sed -E 's/.*"Current version: ([^"]+)".*/\1/')
PREVIOUS_VERSION=release/ui/$(yarn version --json | grep '"data"' | sed -E 's/.*"Current version: ([^"]+)".*/\1/')
echo "Previous version: $PREVIOUS_VERSION"
echo "================ change log ================"
CHANGE_LOG=$(git log --pretty=format:"%s" $PREVIOUS_VERSION..HEAD | grep wren-ui)
Expand All @@ -61,8 +61,8 @@ jobs:
- name: Update Wren-UI version
run: |
version=${{ github.event.inputs.version }}
sed -i '' 's/"version": "[^"]*"/"version": "'"$version"'"/' ./wren-ui/package.json
git add ./wren-ui/package.json
sed -i '' 's/"version": "[^"]*"/"version": "'"$version"'"/' package.json
git add package.json
git commit -m "update wren-ui version to $version"
git push
git tag -a "release/ui/$version" -m "${{ env.CHANGE_LOG }}"
Expand Down

0 comments on commit c444bb6

Please sign in to comment.