We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd356a3 commit 664cb2bCopy full SHA for 664cb2b
bin/release
@@ -13,6 +13,9 @@ function abort {
13
[ -z "${GITHUB_REPO}" ] && abort "Missing GITHUB_REPO env variable."
14
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"
19
20
# Publish to GitHub
21
JSON_PAYLOAD=$(
0 commit comments