File tree 1 file changed +21
-3
lines changed
1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -17,16 +17,34 @@ ruby -Ilib bin/rubyc bin/rubyc \
17
17
--tmpdir=${TEMP_DIR} \
18
18
--clean-tmpdir \
19
19
--ignore-file=.git \
20
+ --ignore-file=.gitignore \
21
+ --ignore-file=.gitmodules \
22
+ --ignore-file=CHANGELOG.md \
23
+ --ignore-file=ruby.patch \
20
24
--ignore-file=.travis.yml \
21
- --ignore-file=.travis/deploy .sh \
25
+ --ignore-file=.travis/test .sh \
22
26
--ignore-file=.travis/install_deps.sh \
23
27
-o rubyc
24
28
25
29
strip rubyc || true
26
30
27
- ./rubyc --version
31
+ RUBY_VERSION=` ./rubyc --ruby-version`
32
+ RUBYC_VERSION=` ./rubyc --version`
33
+
34
+ echo " ------------------------------------"
35
+ echo " Ruby version: $RUBY_VERSION "
36
+ echo " Rubyc version: $RUBYC_VERSION "
37
+ echo " ------------------------------------"
28
38
29
39
bundle exec rake test
30
40
31
41
gzip rubyc
32
- mv rubyc rubyc-${TRAVIS_TAG} -${TRAVIS_OS_NAME} -amd64.gz
42
+
43
+ if [ " $TRAVIS_TAG " = " " ]; then
44
+ VERSION=" ${RUBY_VERSION} -${RUBYC_VERSION} "
45
+ else
46
+ VERSION=" ${TRAVIS_TAG} "
47
+ fi
48
+
49
+ mv rubyc.gz rubyc-${VERSION} -${TRAVIS_OS_NAME} -amd64.gz
50
+ ls -al rubyc* gz
You can’t perform that action at this time.
0 commit comments