Skip to content

Commit c889e77

Browse files
committed
Fixes
1 parent 7702c59 commit c889e77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ jobs:
3838

3939
- name: Get current date for release name
4040
id: get_date
41-
run: echo "RELEASE_DATE=$(date +'%Y-%m-%d-%H-%M')" >> $GITHUB_ENV # Set environment variable with current date and time
41+
run: echo "RELEASE_DATE=$(date +'%Y-%m-%d')" >> $GITHUB_ENV # Set environment variable with current date and time
4242

4343
- name: Create Release and Upload Database File
4444
uses: softprops/action-gh-release@v1
4545
with:
4646
# Use the current date for the release name
47-
name: Database Release ${{ env.RELEASE_DATE }}
47+
name: ${{ env.RELEASE_DATE }}
4848
# A unique tag is required for releases.
4949
# We'll use the date and the run ID to ensure uniqueness.
5050
tag_name: db-${{ env.RELEASE_DATE }}-${{ github.run_id }}
5151
# Attach the generated database file to the release
5252
files: data/github.db
5353
env:
54-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub automatically provides this token
54+
GITHUB_TOKEN: ${{ secrets.PAT }} # Use personal access token instead of default token

0 commit comments

Comments
 (0)