Skip to content

Commit

Permalink
ci: update prepare release crates
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Jun 5, 2024
1 parent 0674604 commit 5d5cc23
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/prepare_release_crates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@ jobs:
- name: Run
id: run
run: |
VERSION=`cargo release-oxc update --release crates`
OUTPUT=`cargo release-oxc update --release crates`
VERSION=`echo $OUTPUT | tail -n 1`
CHANGELOG=`echo $OUTPUT | head -n -1`
echo "VERSION=${VERSION}" >> $GITHUB_OUTPUT
echo "CHANGELOG=${CHANGELOG}" >> $GITHUB_OUTPUT
# update `Cargo.lock`
- run: cargo ck
Expand All @@ -47,6 +50,6 @@ jobs:
branch: release/crates
branch-suffix: timestamp
title: Release crates v${{ steps.run.outputs.VERSION }}
body: Automated Release
body: Automated Release \n ${{ steps.run.outputs.CHANGELOG }}
assignees: Boshen
reviewers: Boshen

0 comments on commit 5d5cc23

Please sign in to comment.