Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updating luarocks version to 2.2.2
Browse files Browse the repository at this point in the history
subnetmarco committed Apr 26, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 0886c88 commit 5e1e1c5
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions package-build.sh
Original file line number Diff line number Diff line change
@@ -109,8 +109,6 @@ make $LUA_MAKE
make install INSTALL_TOP=$OUT/usr/local
cd $OUT

ln -s $OUT/usr/local/bin/lua $OUT/usr/local/bin/lua5.1

export PATH=$PATH:${OUT}/usr/local/bin
export LUA_PATH=${OUT}/usr/local/share/lua/5.1/?.lua

@@ -156,7 +154,7 @@ cp $OUT/usr/local/lib/luarocks/rocks/kong/$KONG_VERSION/conf/kong.yml $OUT/etc/k

# Make the package
post_install_script=$(mktemp -t post_install_script.XXX.sh)
printf "#!/bin/sh\nsudo mkdir -p /etc/kong\nsudo cp /usr/local/lib/luarocks/rocks/kong/$KONG_VERSION/conf/kong.yml /etc/kong/kong.yml" > $post_install_script
printf "#!/bin/sh\nsudo ln -s /usr/local/bin/lua /usr/local/bin/lua5.1\nsudo mkdir -p /etc/kong\nsudo cp /usr/local/lib/luarocks/rocks/kong/$KONG_VERSION/conf/kong.yml /etc/kong/kong.yml" > $post_install_script

cd $OUT
fpm -a all -f -s dir -t $PACKAGE_TYPE -n "kong" -v ${KONG_VERSION} ${FPM_PARAMS} \
2 changes: 1 addition & 1 deletion versions.sh
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
CASSANDRA_VERSION=2.1.2

# Travis and package builder
LUAROCKS_VERSION=2.2.0
LUAROCKS_VERSION=2.2.2
OPENRESTY_VERSION=1.7.10.2rc0

# Package builder only

1 comment on commit 5e1e1c5

@thibaultcha
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The website now has (will have once Kong/docs.konghq.com#47 is merged) some metadata for each Kong version, especially for the dependencies versions. I'm trying to minimize as much as possible the number of places those are declared but since the website is separated, we need to manually update it when doing such changes.

Please sign in to comment.