File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ function abort {
13
13
[ -z " ${GITHUB_REPO} " ] && abort " Missing GITHUB_REPO env variable."
14
14
15
15
VERSION=$( grep " version" lua_cliargs-* .rockspec | cut -d' ' -f3 | sed ' s/"//g' )
16
+ SRC_VERSION=$( grep " _VERSION" src/cliargs.lua | sed -e ' s/.*=//' -e ' s/.* //' -e ' s/"//g' )
17
+
18
+ [ " ${VERSION} " != " ${SRC_VERSION} " ] && abort " Verion in rockspec does not match source"
16
19
17
20
# Publish to GitHub
18
21
JSON_PAYLOAD=$(
Original file line number Diff line number Diff line change 606
606
cli ._COPYRIGHT = " Copyright (C) 2011-2014 Ahmad Amireh"
607
607
cli ._LICENSE = " The code is released under the MIT terms. Feel free to use it in both open and closed software as you please."
608
608
cli ._DESCRIPTION = " Commandline argument parser for Lua"
609
- cli ._VERSION = " cliargs 2.2-0 "
609
+ cli ._VERSION = " cliargs 2.3-3 "
610
610
611
611
-- aliases
612
612
cli .add_argument = cli .add_arg
You can’t perform that action at this time.
0 commit comments