Skip to content

Commit

Permalink
maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
SylveonDeko committed Aug 8, 2024
1 parent f9fbcb5 commit 55d9028
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/psqldeko.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
fetch-depth: 0 # This ensures all history is fetched

Expand Down Expand Up @@ -46,13 +46,15 @@ jobs:
id: commit_messages
run: |
if [ -z "${{ env.prev_tag }}" ]; then
echo "messages<<EOF" >> $GITHUB_ENV
git log --pretty=format:'* %s' >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
echo 'messages<<EOF' >> $GITHUB_ENV
git log -1 --pretty=format:'* %s' >> $GITHUB_ENV
echo '' >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
else
echo "messages<<EOF" >> $GITHUB_ENV
echo 'messages<<EOF' >> $GITHUB_ENV
git log --pretty=format:'* %s' ${{ env.prev_tag }}..HEAD >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
echo '' >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV
fi
- name: Create Release
Expand Down

0 comments on commit 55d9028

Please sign in to comment.