GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix release-check script to avoid conflict issues when running upload… · JavaScriptBach/dropbox-sdk-java@faf3bd4

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • scripts
    • release-check
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎scripts/release-check‎

Copy file name to clipboardExpand all lines: scripts/release-check
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,12 @@ examples_gradle clean
6969
examples_gradle classes
7070

7171
# run examples
72+
DATE=$(date -u '+%Y%m%d%H%M%S')
7273
run_example account-info "${AUTH_FILE}"
7374
cat /dev/urandom | head -c 1024 > "${tempfile}"
74-
run_example upload-file "${AUTH_FILE}" "${tempfile}" /test/dropbox-sdk-java/examples/upload-file/small-1KiB.dat
75+
run_example upload-file "${AUTH_FILE}" "${tempfile}" /test/dropbox-sdk-java/${DATE}/examples/upload-file/small-1KiB.dat
7576
cat /dev/urandom | head -c $(( 32 << 20 )) > "${tempfile}"
76-
run_example upload-file "${AUTH_FILE}" "${tempfile}" /test/dropbox-sdk-java/examples/upload-file/large-32MiB.dat
77+
run_example upload-file "${AUTH_FILE}" "${tempfile}" /test/dropbox-sdk-java/${DATE}/examples/upload-file/large-32MiB.dat
7778

7879
# build android
7980
android_gradle clean

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.