Skip to content

Commit

Permalink
chore: changelog to releases
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneschepke committed Nov 14, 2024
1 parent 2993f1d commit 7140624
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,35 @@ jobs:
fileDir: ${{ env.KEY_STORE_LOCATION }}
encodedString: ${{ secrets.KEYSTORE }}

# update latest tag
- name: Set latest tag
uses: rickstaa/action-create-tag@v1
id: tag_creation
with:
tag: "latest" # or any tag name you wish to use
message: "Automated tag for HEAD commit"
force_push_tag: true
tag_exists_error: false

- uses: rickstaa/action-create-tag@v1
id: "tag_create"
with:
tag: "latest"
tag_exists_error: false
force_push_tag: true
message: "latest commit"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Generate Changelog
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
fromTag: ${{ (github.event_name == 'schedule' && 'nightly') || steps.latest_release.outputs.tag_name }}
toTag: "latest"
writeToFile: false # we won't write to file, just output

# create keystore path for gradle to read
- name: Create keystore path env var
run: |
Expand Down Expand Up @@ -209,6 +238,9 @@ jobs:
SHA256 fingerprint:
```${{ steps.checksum.outputs.checksum }}```
### Changelog
${{ steps.changelog.outputs.changes }}
tag_name: ${{ env.TAG_NAME }}
name: ${{ env.TAG_NAME }}
draft: false
Expand Down

0 comments on commit 7140624

Please sign in to comment.