Skip to content

Commit

Permalink
Update github-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
trife authored Dec 2, 2024
1 parent d3e9571 commit f4c16b8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,16 +161,16 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}

- name: Check date for Google Play upload
id: date_check
run: |
CURRENT_DATE=$(date +%m%d)
echo "CURRENT_DATE: $CURRENT_DATE"
if [ "$CURRENT_DATE" -ge 0415 ] && [ "$CURRENT_DATE" -le 0915 ]; then
echo "UPLOAD_TO_PLAY_STORE=false" >> $GITHUB_ENV
else
echo "UPLOAD_TO_PLAY_STORE=true" >> $GITHUB_ENV
fi
#- name: Check date for Google Play upload
# id: date_check
# run: |
# CURRENT_DATE=$(date +%m%d)
# echo "CURRENT_DATE: $CURRENT_DATE"
# if [ "$CURRENT_DATE" -ge 0415 ] && [ "$CURRENT_DATE" -le 0915 ]; then
# echo "UPLOAD_TO_PLAY_STORE=false" >> $GITHUB_ENV
# else
# echo "UPLOAD_TO_PLAY_STORE=true" >> $GITHUB_ENV
# fi

#- name: Release APK to Play Store
# if: env.UPLOAD_TO_PLAY_STORE == 'true'
Expand Down

0 comments on commit f4c16b8

Please sign in to comment.