Add script to update subtree-ed third party dependencies more easily.
Note: this updates the subtrees immediately. Discussion: would it make sense to do something along the lines of: $ http --body https://api.github.com/repos/mapbox/variant/releases/latest | jq ".tag_name" "v1.0" And warn the user if the latest release tag is not the tag the update script was called with. Or at least ask for confirmation?
This commit is contained in:
parent
9a0877379c
commit
beb2ab9ad5
11
update_depdendencies.sh
Executable file
11
update_depdendencies.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
OSMIUM_REPO=https://github.com/osmcode/libosmium.git
|
||||
OSMIUM_TAG=v2.3.0
|
||||
|
||||
VARIANT_REPO=https://github.com/mapbox/variant.git
|
||||
VARIANT_TAG=v1.0
|
||||
|
||||
|
||||
git subtree pull -P third_party/libosmium/ $OSMIUM_REPO $OSMIUM_TAG --squash
|
||||
git subtree pull -P third_party/variant/ $VARIANT_REPO $VARIANT_TAG --squash
|
Loading…
Reference in New Issue
Block a user