Skip to content

Commit

Permalink
update gitlflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Guseyn committed Dec 1, 2023
1 parent 7cf497a commit 9d129d8
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/ehtml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@ jobs:
echo "No release will be triggered for commit: $last_commit_message"
exit 1 # This will skip the job without failing
fi
- name: Get commit hashes since previous release
run: |
echo ${{ github.event.before }}
echo ${{ github.event.after }}
COMMIT_HASHES=$(git log --format="%H" ${{ github.event.before }}..${{ github.event.after }})
echo "COMMIT_HASHES=${COMMIT_HASHES}" >> $GITHUB_ENV
- name: Changelog
uses: Bullrich/generate-release-changelog@master
id: Changelog
env:
REPO: ${{ github.repository }}
- name: Create GitHub Release
uses: actions/create-release@v1
env:
Expand All @@ -50,8 +49,6 @@ jobs:
tag_name: ${{ github.event.head_commit.message }}
release_name: Release ${{ github.event.head_commit.message }}
body: |
## Changes
- Commits since previous release:
${{ env.COMMIT_HASHES }}
${{ steps.Changelog.outputs.changelog }}
draft: false
prerelease: false

0 comments on commit 9d129d8

Please sign in to comment.