ソースコードの管理場所
Revision | e3b751433865d9ca99db75d0907f1f7c56c2cda0 (tree) |
---|---|
Time | 2012-04-22 16:15:26 |
Author | KUROKI Yusuke <kuroky@user...> |
Commiter | KUROKI Yusuke |
release の仕方を試行錯誤
@@ -1,4 +1,4 @@ | ||
1 | -The LuaTeX-ja Package 20120422.0 | |
1 | +The LuaTeX-ja Package $VER$ | |
2 | 2 | -------------------------------- |
3 | 3 | Copyright (c) 2011--2012 The LuaTeX-ja project |
4 | 4 | License: modified BSD (see COPYING) |
@@ -28,9 +28,11 @@ Installation | ||
28 | 28 | |
29 | 29 | 2. If you must/want to install manually: |
30 | 30 | |
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 | |
32 | 33 | <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 | + | |
34 | 36 | b. Extract the archive and put src/ into your TEXMF tree. |
35 | 37 | An example location is TEXMF/tex/luatex/luatexja. |
36 | 38 |
@@ -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 |