• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisionccc91a517bcee4460f5bb556911d6d17b70a550e (tree)
Time2014-06-11 01:21:13
Authorumorigu <umorigu@gmai...>
Commiterumorigu

Log Message

Use git clone and reset to get snapshot revision

Change Summary

Incremental Difference

--- a/release.sh
+++ b/release.sh
@@ -199,8 +199,13 @@ else cmd="checkout"
199199 fi
200200
201201 if [ "$__git" ] ; then
202- echo git clone --depth 10 --branch "$tag" "$gitrepo" "$pkg_dir"
203- git clone --depth 10 --branch "$tag" "$gitrepo" "$pkg_dir"
202+ echo git clone "$gitrepo" "$pkg_dir"
203+ git clone "$gitrepo" "$pkg_dir"
204+ echo cd $pkg_dir
205+ cd $pkg_dir
206+ echo git reset --hard "$tag"
207+ git reset --hard "$tag"
208+ cd ..
204209 else
205210 exit
206211 echo cvs -z3 -d "$CVSROOT" -q "$cmd" -r "$tag" -d "$pkg_dir" "$mod"