Skip to content

Commit 7e2f006

Browse files
committed
Release v33
1 parent 82d8ddf commit 7e2f006

File tree

3 files changed

+26
-26
lines changed

3 files changed

+26
-26
lines changed

GNUmakefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,12 @@ define unpack-distcheck-release
4848
endef
4949

5050
check-in-release: distcheck
51-
current_branch=`$(GIT) symbolic-ref HEAD`; \
5251
{ $(GIT) checkout -b release 2>/dev/null || $(GIT) checkout release; } && \
5352
{ $(GIT) pull origin release || true; } && \
5453
$(unpack-distcheck-release) && \
5554
$(GIT) add . && \
5655
$(GIT) commit -a -m "Release v$(VERSION)" && \
57-
$(GIT) tag -f -a -m "Full source release tag" release-v$(VERSION); \
58-
$(GIT) checkout `echo "$$current_branch" | sed 's,.*/,,g'`
56+
$(GIT) tag -f -a -m "Full source release tag" release-v$(VERSION)
5957

6058

6159
## To test the release process without publishing upstream, use:
@@ -67,6 +65,7 @@ WOGER_ENV = LUA_INIT= LUA_PATH='$(abs_srcdir)/?-git-1.rockspec'
6765
WOGER_OUT = $(WOGER_ENV) $(LUA) -l$(PACKAGE) -e
6866

6967
release: rockspecs
68+
current_branch=`$(GIT) symbolic-ref HEAD`; \
7069
$(MAKE) tag-release && \
7170
$(MAKE) check-in-release && \
7271
$(GIT_PUBLISH) push && $(GIT_PUBLISH) push --tags && \
@@ -79,5 +78,6 @@ release: rockspecs
7978
notes=release-notes-$(VERSION) \
8079
home="`$(WOGER_OUT) 'print (description.homepage)'`" \
8180
description="`$(WOGER_OUT) 'print (description.summary)'`"
81+
$(GIT) checkout `echo "$$current_branch" | sed 's,.*/,,g'`
8282

8383
endif

stdlib-33-1.rockspec

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
version = "33-1"
2-
source = {
3-
url = "git://github.com/rrthomas/lua-stdlib.git",
4-
branch = "release-v33",
5-
}
6-
dependencies = {
7-
"lua >= 5.1",
8-
}
9-
package = "stdlib"
101
build = {
11-
install_command = "make install",
122
type = "command",
133
copy_directories = {
144
},
155
build_command = "LUA=$(LUA) CPPFLAGS=-I$(LUA_INCDIR) ./configure --prefix=$(PREFIX) --libdir=$(LIBDIR) --datadir=$(LUADIR) && make clean && make",
6+
install_command = "make install",
7+
}
8+
source = {
9+
branch = "release-v33",
10+
url = "git://github.com/rrthomas/lua-stdlib.git",
11+
}
12+
version = "33-1"
13+
package = "stdlib"
14+
dependencies = {
15+
"lua >= 5.1",
1616
}
1717
description = {
18-
license = "MIT/X11",
1918
summary = "General Lua libraries",
2019
detailed = " stdlib is a library of modules for common programming tasks,\
2120
including list, table and functional operations, regexps, objects,\
2221
pickling, pretty-printing and getopt.\
2322
",
23+
license = "MIT/X11",
2424
homepage = "http://github.com/rrthomas/lua-stdlib/",
2525
}

stdlib-git-1.rockspec

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
version = "git-1"
2-
source = {
3-
url = "git://github.com/rrthomas/lua-stdlib.git",
4-
}
5-
dependencies = {
6-
"lua >= 5.1",
7-
}
1+
package = "stdlib"
82
build = {
93
type = "command",
10-
install_command = "make install",
114
build_command = "autoreconf -i && LUA=$(LUA) CPPFLAGS=-I$(LUA_INCDIR) ./configure --prefix=$(PREFIX) --libdir=$(LIBDIR) --datadir=$(LUADIR) && make clean && make",
5+
install_command = "make install",
126
copy_directories = {
137
},
148
}
9+
version = "git-1"
10+
source = {
11+
url = "git://github.com/rrthomas/lua-stdlib.git",
12+
}
1513
description = {
16-
license = "MIT/X11",
17-
homepage = "http://github.com/rrthomas/lua-stdlib/",
18-
summary = "General Lua libraries",
1914
detailed = " stdlib is a library of modules for common programming tasks,\
2015
including list, table and functional operations, regexps, objects,\
2116
pickling, pretty-printing and getopt.\
2217
",
18+
homepage = "http://github.com/rrthomas/lua-stdlib/",
19+
license = "MIT/X11",
20+
summary = "General Lua libraries",
21+
}
22+
dependencies = {
23+
"lua >= 5.1",
2324
}
24-
package = "stdlib"

0 commit comments

Comments
 (0)