Skip to content

Commit

Permalink
test de config 16
Browse files Browse the repository at this point in the history
test 16
  • Loading branch information
alternative-rvb committed Mar 13, 2024
1 parent 247fd34 commit 77b2b82
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ on:
jobs:
generate-release-notes:
runs-on: ubuntu-latest
env:
owner: ${{ github.repository_owner }}
repo: ${{ github.repository }}
steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand All @@ -39,9 +36,9 @@ jobs:
echo "::group::Generating Detailed Changelog"
prev_tag=${{ steps.prev_tag.outputs.prev_tag }} # Optional: Use prev_tag if available
if [[ $prev_tag ]]; then
CHANGELOG=$(git log --pretty=format:"* [%h](https://github.com/$owner/$repo/commit/%h) %s" $prev_tag..HEAD)
CHANGELOG=$(git log --pretty=format:"* [%h](https://github.com/{{ owner }}/{{ repo }}/commit/%h) %s (%cn)" $prev_tag..HEAD)
else
CHANGELOG=$(git log --pretty=format:"* [%h](https://github.com/$owner/$repo/commit/%h) %s" HEAD~10..HEAD)
CHANGELOG=$(git log --pretty=format:"* [%h](https://github.com/{{ owner }}/{{ repo }}/commit/%h) %s (%cn)")
fi
echo "$CHANGELOG"
echo "::endgroup::"
Expand Down

0 comments on commit 77b2b82

Please sign in to comment.