File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,12 +18,12 @@ jobs:
1818 VERSION="$(make release-info | grep -oP '^VERSION=\K.*')"
1919 ROCKSPEC_RELEASE_FILE="$(make release-info | grep -oP '^ROCKSPEC_RELEASE_FILE=\K.*')"
2020 if [ ! -f "${ROCKSPEC_RELEASE_FILE}" ]; then
21- echo "No rockspec files found. Exiting."
21+ echo "No ${ROCKSPEC_RELEASE_FILE} file found. Exiting."
2222 exit 1
2323 fi
24- # Compare tag with version with VERSIOn
25- if [ "${GITHUB_REF} " != "refs/tags/ v${VERSION}" ]; then
26- echo "Tag does not match version. Exiting."
24+ # Compare tag with version with VERSION
25+ if [ "${{ github.ref_name }} " != "v${VERSION}" ]; then
26+ echo "${{ github.ref_name }} does not match version ${VERSION} . Exiting."
2727 exit 1
2828 fi
2929 - name : Publish to LuaRocks
You can’t perform that action at this time.
0 commit comments