mirror of
https://github.com/NatsumeLS/Gakumas-Translation-Data-EN.git
synced 2026-02-04 00:54:53 +00:00
Nah just read on Discord
This commit is contained in:
17
.github/workflows/check.yml
vendored
17
.github/workflows/check.yml
vendored
@@ -114,7 +114,7 @@ jobs:
|
|||||||
datetime=$(date +'%Y%m%d.%H%M%S')
|
datetime=$(date +'%Y%m%d.%H%M%S')
|
||||||
echo "$datetime.$branch.$hash" > version.txt
|
echo "$datetime.$branch.$hash" > version.txt
|
||||||
echo "VERSION=$datetime.$branch.$hash" >> $GITHUB_ENV
|
echo "VERSION=$datetime.$branch.$hash" >> $GITHUB_ENV
|
||||||
echo "RELEASE_DATE=$(date +'%Y-%m-%d %H:%M:%S')" >> $GITHUB_ENV
|
echo "RELEASE_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Create ZIP Archive
|
- name: Create ZIP Archive
|
||||||
run: |
|
run: |
|
||||||
@@ -134,21 +134,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.PAT }}
|
GITHUB_TOKEN: ${{ secrets.PAT }}
|
||||||
|
|
||||||
- name: Generate Changelog
|
|
||||||
run: |
|
|
||||||
echo "This is an automated release of the latest translation data." > CHANGELOG.md
|
|
||||||
echo "" >> CHANGELOG.md
|
|
||||||
echo "## Changelog" >> CHANGELOG.md
|
|
||||||
git log $(git describe --tags --abbrev=0 @^)..@ --pretty=format:"- %s" >> CHANGELOG.md
|
|
||||||
echo "" >> CHANGELOG.md
|
|
||||||
cat CHANGELOG.md
|
|
||||||
|
|
||||||
- name: Update GitHub Release with Changelog
|
|
||||||
run: |
|
|
||||||
gh release edit ${{ env.VERSION }} --notes-file CHANGELOG.md
|
|
||||||
env:
|
|
||||||
GH_TOKEN: ${{ secrets.PAT }}
|
|
||||||
|
|
||||||
- name: Send Notification to Discord
|
- name: Send Notification to Discord
|
||||||
uses: sarisia/actions-status-discord@v1
|
uses: sarisia/actions-status-discord@v1
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
Reference in New Issue
Block a user