Skip to content

Commit

Permalink
Cache apr 14 (covidatlas#808)
Browse files Browse the repository at this point in the history
* Script to update cache ref.
* Update cache ref.
  • Loading branch information
jzohrab authored Apr 14, 2020
1 parent 3c60fcd commit 0bb5219
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion coronadatascraper-cache
20 changes: 20 additions & 0 deletions scripts/update-cache-ref.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash

# Run this from the root dir.
# Fetch and commit last coronadatascraper-cache/ ref on origin/master.

if [ "$1" == "" ]; then
echo "Please specify a branch name."
exit 0
fi

git checkout master -b "$1"

pushd coronadatascraper-cache/
git checkout master
git pull origin master
popd

git st
git add coronadatascraper-cache/
git commit -m "Update cache ref only."

0 comments on commit 0bb5219

Please sign in to comment.