Skip to content

Commit

Permalink
echo latest commit/release during action
Browse files Browse the repository at this point in the history
  • Loading branch information
Chickensoupwithrice committed Jan 15, 2025
1 parent 5e3cec4 commit 14bbb93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/generate-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
git config --global user.name 'sourcegraph-bot'
git config --global user.email '[email protected]'
git fetch --tags origin
git checkout main
git pull
- name: Update version
env:
VERSION: ${{ github.event.inputs.version }}
Expand Down Expand Up @@ -54,6 +56,8 @@ jobs:
# Get current release commit
export RELEASE_LATEST_COMMIT=$(git rev-parse HEAD)
echo "Latest Commit: $RELEASE_LATEST_COMMIT"
echo "Latest Release: $RELEASE_LATEST_RELEASE"
./changelog update-as-pr \
--github.repo=$GH_REPO \
--output.repo.base="main" \
Expand Down

0 comments on commit 14bbb93

Please sign in to comment.