| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -80,11 +80,12 @@ jobs: | |||
| 80 | 80 | if [ "$PREV_TAG" = "none" ]; then | |
| 81 | 81 | echo "No previous tag found, listing all commits" | |
| 82 | 82 | COMMITS=$(git log --pretty=format:"* %s" --no-merges) | |
| 83 | - else: | ||
| 83 | + else | ||
| 84 | 84 | echo "Previous tag: $PREV_TAG" | |
| 85 | 85 | # List commits since last tag | |
| 86 | 86 | COMMITS=$(git log $PREV_TAG..HEAD --pretty=format:"* %s" --no-merges) | |
| 87 | 87 | fi | |
| 88 | + # Save commits to the environment | ||
| 88 | 89 | echo "commits=$COMMITS" >> $GITHUB_ENV | |
| 89 | 90 | ||
| 90 | 91 | # Create a release | |
| Back | FazBrowse Home | New Git URL |
0 commit comments