Skip to content

Commit

Permalink
logs
Browse files Browse the repository at this point in the history
  • Loading branch information
squadgazzz committed Feb 6, 2024
1 parent 6359024 commit bf59071
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,14 @@ jobs:
- name: Check for changes since last tag
id: check_changes
run: |
git fetch --depth=1 origin main:refs/remotes/origin/main
git fetch origin main:main
echo "fetch ok"
git checkout main
echo "co ok"
LATEST_TAG=$(git tag --sort=-authordate --merged=main | head --lines 1)
echo $LATEST_TAG
CHANGES=$(git log $LATEST_TAG..HEAD --oneline)
echo $CHANGES
if [[ -z "$CHANGES" ]]; then
echo "No changes since the last tag."
else
Expand Down

0 comments on commit bf59071

Please sign in to comment.