1 parent 61e8412 commit ceae82aCopy full SHA for ceae82a
.github/workflows/main.yml
@@ -80,11 +80,12 @@ jobs:
80
if [ "$PREV_TAG" = "none" ]; then
81
echo "No previous tag found, listing all commits"
82
COMMITS=$(git log --pretty=format:"* %s" --no-merges)
83
- else:
+ else
84
echo "Previous tag: $PREV_TAG"
85
# List commits since last tag
86
COMMITS=$(git log $PREV_TAG..HEAD --pretty=format:"* %s" --no-merges)
87
fi
88
+ # Save commits to the environment
89
echo "commits=$COMMITS" >> $GITHUB_ENV
90
91
# Create a release
0 commit comments