abapgit-agent 1.1.1-1 → 1.1.1-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -36,18 +36,10 @@ jobs:
|
|
|
36
36
|
- name: Generate release notes
|
|
37
37
|
id: release_notes
|
|
38
38
|
run: |
|
|
39
|
-
#
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
CHANGES=$(git log --pretty=format:"- %s (%h)" HEAD ^ --no-walk --sorted)
|
|
44
|
-
else
|
|
45
|
-
# Get changes since last tag
|
|
46
|
-
CHANGES=$(git log --pretty=format:"- %s (%h)" ${PREV_TAG}..HEAD --no-walk --sorted)
|
|
47
|
-
fi
|
|
48
|
-
echo "CHANGES<<EOF" >> $GITHUB_OUTPUT
|
|
49
|
-
echo "$CHANGES" >> $GITHUB_OUTPUT
|
|
50
|
-
echo "EOF" >> $GITHUB_OUTPUT
|
|
39
|
+
CURRENT_TAG="${GITHUB_REF#refs/tags/}"
|
|
40
|
+
# List all commits since the repo began (or use a fixed starting point)
|
|
41
|
+
CHANGES=$(git log --pretty=format:"- %s (%h)" -20)
|
|
42
|
+
echo "CHANGES=$CHANGES" >> $GITHUB_OUTPUT
|
|
51
43
|
|
|
52
44
|
- name: Create GitHub Release
|
|
53
45
|
uses: softprops/action-gh-release@v1
|
|
@@ -64,7 +56,5 @@ jobs:
|
|
|
64
56
|
```bash
|
|
65
57
|
npm install -g abapgit-agent
|
|
66
58
|
```
|
|
67
|
-
draft: false
|
|
68
|
-
prerelease: false
|
|
69
59
|
env:
|
|
70
60
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|