2016-03-05 7 views
6

हाय मैं इस मैं कर सकता हूँ के बाद hashicorp/terraform के लिए दिया जाता है और गतिविधिकैसे terraform के लिए https://github.com/hashicorp/terraform.git के लिए विक्रेता फ़ोल्डर अद्यतन करने के लिए

# Get latest master branch's dependencies staged in local $GOPATH 
git checkout master 
git pull 
godep restore -v 

# Make your way to the dependency in question and checkout the target ref 
pushd $GOPATH/src/github.com/some/dependency 
git checkout [latest] 

# Head back to Terraform on a feature branch and update the dependncy to the 
# version currently in your $GOPATH 
popd 
git checkout my-feature-branch 
godep update github.com/... 

नीचे प्रदर्शन किया चरणों का पालन कर रहा हूँ मेरी Godep.json फ़ाइल को अद्यतन किया गया है, हालांकि मुझे विक्रेता फ़ोल्डर में परिवर्तन दिखाई नहीं देते हैं। यह अभी भी पुराने को इंगित करता है। खैर मैं विक्रेता से एमआरआर समर्थन देख रहा हूं जिसके लिए मैं go-aws-sdk अपडेट कर रहा हूं जो नवीनतम go-aws-sdk के साथ उपलब्ध है। जब मैं github.com को अपडेट करता हूं/... ने godep.json को संशोधित किया है लेकिन विक्रेता फ़ोल्डर नहीं है। क्या कोई मुझे कारण बता सकता है। धन्यवाद

उत्तर

1

आपको फिर से godep restore -v करना है। update केवल Godep.json फ़ाइल में निर्भरता को अपडेट करता है।

संबंधित मुद्दे