Skip to content

Commit 7140624

Browse files
committed
chore: changelog to releases
1 parent 2993f1d commit 7140624

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

.github/workflows/release.yml

+32
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,35 @@ jobs:
9494
fileDir: ${{ env.KEY_STORE_LOCATION }}
9595
encodedString: ${{ secrets.KEYSTORE }}
9696

97+
# update latest tag
98+
- name: Set latest tag
99+
uses: rickstaa/action-create-tag@v1
100+
id: tag_creation
101+
with:
102+
tag: "latest" # or any tag name you wish to use
103+
message: "Automated tag for HEAD commit"
104+
force_push_tag: true
105+
tag_exists_error: false
106+
107+
- uses: rickstaa/action-create-tag@v1
108+
id: "tag_create"
109+
with:
110+
tag: "latest"
111+
tag_exists_error: false
112+
force_push_tag: true
113+
message: "latest commit"
114+
env:
115+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
116+
117+
- name: Generate Changelog
118+
id: changelog
119+
uses: requarks/changelog-action@v1
120+
with:
121+
token: ${{ secrets.GITHUB_TOKEN }}
122+
fromTag: ${{ (github.event_name == 'schedule' && 'nightly') || steps.latest_release.outputs.tag_name }}
123+
toTag: "latest"
124+
writeToFile: false # we won't write to file, just output
125+
97126
# create keystore path for gradle to read
98127
- name: Create keystore path env var
99128
run: |
@@ -209,6 +238,9 @@ jobs:
209238
210239
SHA256 fingerprint:
211240
```${{ steps.checksum.outputs.checksum }}```
241+
242+
### Changelog
243+
${{ steps.changelog.outputs.changes }}
212244
tag_name: ${{ env.TAG_NAME }}
213245
name: ${{ env.TAG_NAME }}
214246
draft: false

0 commit comments

Comments
 (0)