• R/O
  • HTTP
  • SSH
  • HTTPS

luatexja: Commit

ソースコードの管理場所


Commit MetaInfo

Revisione3b751433865d9ca99db75d0907f1f7c56c2cda0 (tree)
Time2012-04-22 16:15:26
AuthorKUROKI Yusuke <kuroky@user...>
CommiterKUROKI Yusuke

Log Message

release の仕方を試行錯誤

Change Summary

Incremental Difference

--- a/README
+++ b/README
@@ -1,4 +1,4 @@
1-The LuaTeX-ja Package 20120422.0
1+The LuaTeX-ja Package $VER$
22 --------------------------------
33 Copyright (c) 2011--2012 The LuaTeX-ja project
44 License: modified BSD (see COPYING)
@@ -28,9 +28,11 @@ Installation
2828
2929 2. If you must/want to install manually:
3030
31- a. Download the source archive from CTAN, or HEAD in the Git repository by
31+ a. Download the source archive from CTAN,
32+ or tagged as $VER$ in the Git repository by
3233 <http://git.sourceforge.jp/view?p=luatex-ja/luatexja.git
33- ;a=snapshot;h=HEAD;sf=tgz>
34+ ;a=snapshot;h=$VER$;sf=tgz>
35+
3436 b. Extract the archive and put src/ into your TEXMF tree.
3537 An example location is TEXMF/tex/luatex/luatexja.
3638
--- /dev/null
+++ b/tool/release.mak
@@ -0,0 +1,15 @@
1+#-*- mode: Makefile -*-
2+
3+PROJECT=luatexja
4+DIR=.
5+VER=HEAD
6+
7+all:
8+ perl -pi.bak -e 's/\$$VER\$$/$(VER)/g' README
9+ rm -f README.bak
10+ git add README
11+ git commit -m 'Releases $(VER)'
12+ git tag $(VER)
13+ git archive --format=tar --prefix=$(PROJECT)-$(VER) $(VER) | gzip > $(DIR)/$(PROJECT)-$(VER).tar.gz
14+ git push origin $(VER)
15+ git reset --hard HEAD~
\ No newline at end of file
Show on old repository browser