Skip to content

Commit a54b537

Browse files
committedJun 9, 2020
Add branch to rockspec, fix publishing rockspec for tag
1 parent 15eccde commit a54b537

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed
 

‎.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ jobs:
123123
provider: script
124124
script: cat $ROCK_NAME-scm-1.rockspec |
125125
sed -E
126-
-e "s/branch = '.+'/tag = '$TRAVIS_TAG'/g"
127-
-e "s/version = '.+'/version = '$TRAVIS_TAG-1'/g" |
126+
-e "s/branch = \".+\"/tag = \"$TRAVIS_TAG\"/g"
127+
-e "s/version = \".+\"/version = \"$TRAVIS_TAG-1\"/g" |
128128
curl --fail -X PUT -F "rockspec=@-;filename=$ROCK_NAME-$TRAVIS_TAG-1.rockspec"
129129
https://$ROCKS_USERNAME:$ROCKS_PASSWORD@rocks.tarantool.org
130130

‎luacheck-scm-1.rockspec

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
package = "luacheck"
22
version = "scm-1"
33
source = {
4-
url = "git+https://github.com/tarantool/luacheck.git"
4+
url = "git+https://github.com/tarantool/luacheck.git",
5+
branch = "master",
56
}
67
description = {
78
summary = "A static analyzer and a linter for Lua",

0 commit comments

Comments
 (0)
Please sign in to comment.