Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rocket.Chat
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RocketChat
Rocket.Chat
Commits
a84e4638
Commit
a84e4638
authored
9 years ago
by
S. Li
Browse files
Options
Downloads
Patches
Plain Diff
build with branch name
parent
5866043c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
.travis.yml
+1
-1
1 addition, 1 deletion
.travis.yml
.travis/namedemo.sh
+2
-2
2 additions, 2 deletions
.travis/namedemo.sh
.travis/namefiles.sh
+2
-2
2 additions, 2 deletions
.travis/namefiles.sh
.travis/setbuildinfo.js
+7
-1
7 additions, 1 deletion
.travis/setbuildinfo.js
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
with
13 additions
and
7 deletions
.travis.yml
+
1
−
1
View file @
a84e4638
...
...
@@ -33,7 +33,7 @@ script:
-
cd .travis
-
sh ./namefiles.sh
-
cd ..
-
meteor add rocketchat:livechat rocketchat:hubot
-
meteor add rocketchat:livechat rocketchat:hubot
-
meteor build --server demo.rocket.chat ../build
-
cd .travis
-
sh ./namedemo.sh
...
...
This diff is collapsed.
Click to expand it.
.travis/namedemo.sh
+
2
−
2
View file @
a84e4638
cd
../../build
FILENAME
=
demo.rocket.chat-
`
cat
version.txt
`
.tgz
mv
Rocket.Chat.tar.gz
$FILENAME
ln
-s
$FILENAME
demo.rocket.chat-v.latest.tgz
mv
Rocket.Chat.tar.gz
"
$FILENAME
"
ln
-s
"
$FILENAME
"
demo.rocket.chat-v.latest.tgz
This diff is collapsed.
Click to expand it.
.travis/namefiles.sh
+
2
−
2
View file @
a84e4638
cd
../../build
FILENAME
=
rocket.chat-
`
cat
version.txt
`
.tgz
mv
Rocket.Chat.tar.gz
$FILENAME
ln
-s
$FILENAME
rocket.chat-v.latest.tgz
mv
Rocket.Chat.tar.gz
"
$FILENAME
"
ln
-s
"
$FILENAME
"
"
$TRAVIS_BRANCH
.
rocket.chat-v.latest.tgz
"
This diff is collapsed.
Click to expand it.
.travis/setbuildinfo.js
+
7
−
1
View file @
a84e4638
...
...
@@ -8,11 +8,17 @@ var lr = new LineByLineReader(BUILD_INFO_PATH);
var
firstline
=
""
;
if
(
process
.
env
.
TRAVIS_BUILD_NUMBER
)
{
var
transformVersion
=
function
(
firstline
)
{
var
versions
=
firstline
.
split
(
"
.
"
);
var
verstring
=
versions
[
0
]
+
'
.
'
+
versions
[
1
]
+
'
.
'
+
process
.
env
.
TRAVIS_BUILD_NUMBER
+
'
-
'
+
process
.
env
.
TRAVIS_BRANCH
+
'
\n
'
;
if
(
process
.
env
.
TRAVIS_TAG
)
{
verstring
=
TRAVIS_TAG
+
'
-
'
+
process
.
env
.
TRAVIS_BRANCH
+
'
\n
'
;
}
return
vers
ions
[
0
]
+
'
.
'
+
versions
[
1
]
+
'
.
'
+
process
.
env
.
TRAVIS_BUILD_NUMBER
+
'
\n
'
;
return
vers
tring
;
};
...
...
This diff is collapsed.
Click to expand it.
Dockerfile
+
1
−
1
View file @
a84e4638
...
...
@@ -16,7 +16,7 @@ RUN gpg --keyserver ha.pool.sks-keyservers.net --recv-keys 0E163286C20D07B9787EB
WORKDIR
/app
RUN
curl
-fSL
"https://s3.amazonaws.com/rocketchatbuild/rocket.chat-v.latest.tgz"
-o
rocket.chat.tgz
\
RUN
curl
-fSL
"https://s3.amazonaws.com/rocketchatbuild/
develop.
rocket.chat-v.latest.tgz"
-o
rocket.chat.tgz
\
&&
tar
zxvf ./rocket.chat.tgz
\
&&
rm
./rocket.chat.tgz
\
&&
cd
/app/bundle/programs/server
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment