diff options
author | Kali Kaneko <kali@leap.se> | 2015-08-24 17:42:20 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2015-08-24 17:56:09 -0400 |
commit | dde1b5289b12fa034eae10dfdf9354d0c7cd93bc (patch) | |
tree | b4da588ba34f5fab112611096e22f90222d4c12c /pkg | |
parent | 728f542753c7307cc908e8d40e5ca0df4feaa5da (diff) |
[pkg] fetch origin before checkout
Diffstat (limited to 'pkg')
-rwxr-xr-x | pkg/scripts/checkout_leap_versions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/scripts/checkout_leap_versions.sh b/pkg/scripts/checkout_leap_versions.sh index 9d6c6fab..5381625b 100755 --- a/pkg/scripts/checkout_leap_versions.sh +++ b/pkg/scripts/checkout_leap_versions.sh @@ -3,5 +3,5 @@ cat pkg/leap_versions.txt | while read line do package=$(echo $line | cut -f1 -d' ') tag=$(echo $line | cut -f2 -d' ') - cd ../$package && git checkout $tag + cd ../$package && git fetch origin && git checkout $tag done |