Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jomertix authored Dec 5, 2024
1 parent 22f6b28 commit fbb5651
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Set variables
run: |
echo "TAG_NAME=$(date +%Y%m%d%H%M)" >> $GITHUB_ENV
echo "RELEASE_NAME=$(date -u '+%Y-%m-%d %H:%M:%S UTC') (GMT+0)" >> $GITHUB_ENV
echo "CURRENT_TIME=$(date -u '+%Y-%m-%d %H:%M:%S UTC')" >> $GITHUB_ENV
shell: bash

- name: Get GeoLite2
Expand All @@ -53,8 +53,8 @@ jobs:
- name: Release and upload assets
run: |
gh release create ${{ env.TAG_NAME }} \
-n "This release was created automatically at ${{ env.CURRENT_TIME }}." \
-t "${{ env.RELEASE_NAME }}" \
-n "This release was created automatically at ${{ env.CURRENT_TIME }} (GMT+0)." \
-t "${{ env.CURRENT_TIME }}" \
./output/geoip.dat \
./output/geoip.dat.sha256sum \
./output/geoip-only-cn-private.dat \
Expand Down

0 comments on commit fbb5651

Please sign in to comment.