Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more release logs for debugging #1151

Merged
merged 1 commit into from
Oct 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
jobs:
release_pr:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"

steps:
- uses: actions/checkout@v4
Expand All @@ -19,7 +18,7 @@ jobs:
node-version: 20
cache: 'npm'

- name: Fetch files and checkout
- name: Fetch files and ensure branches exist
run: |
git fetch origin
# Check if the 'main' branch exists, if not, create it
Expand All @@ -34,6 +33,18 @@ jobs:
else
git checkout -b releases origin/releases
fi

- name: Debug changelog file
run: |
ls -la ${{ github.workspace }}/CHANGELOG.txt
cat ${{ github.workspace }}/CHANGELOG.txt

- name: Collect commit ranges
run: |
bash ./scripts/changelog.sh > ${{ github.workspace }}/CHANGELOG.txt

- name: Checkout code from main into release branch
run: |
# Checkout the code of main onto releases
git checkout main -- .

Expand All @@ -54,10 +65,6 @@ jobs:
skip_checkout: true
branch: "releases"

- name: Collect commit ranges
run: |
bash ./scripts/changelog.sh > ${{ github.workspace }}/CHANGELOG.txt

- name: Debug changelog file
run: |
ls -la ${{ github.workspace }}/CHANGELOG.txt
Expand Down
Loading