File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,14 @@ before_install:
34
34
35
35
script : script/travisbuild
36
36
37
- before_deploy :
38
- - echo "module Rugged" > lib/rugged/version.rb
39
- - if [ ! -z "$TRAVIS_TAG" ]; then
40
- - echo " Version = VERSION = \"$(echo "$TRAVIS_TAG" | tail -c +2)\"" >> lib/rugged/version.rb
41
- - else
42
- - echo " Version = VERSION = \"$(git describe --tags --first-parent | tail -c +2 | tr '-' '.').pre\"" >> lib/rugged/version.rb
43
- - fi;
44
- - echo "end" >> lib/rugged/version.rb
37
+ before_deploy : |
38
+ echo "module Rugged" > lib/rugged/version.rb
39
+ if [ ! -z "$TRAVIS_TAG" ]; then
40
+ echo " Version = VERSION = \"$(echo "$TRAVIS_TAG" | tail -c +2)\"" >> lib/rugged/version.rb
41
+ else
42
+ echo " Version = VERSION = \"$(git describe --tags --first-parent | tail -c +2 | tr '-' '.').pre\"" >> lib/rugged/version.rb
43
+ fi;
44
+ echo "end" >> lib/rugged/version.rb
45
45
46
46
deploy :
47
47
provider : rubygems
You can’t perform that action at this time.
0 commit comments