Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
99830bb6
Commit
99830bb6
authored
Dec 13, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create branch for tag
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
440f3f38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
lib/gitlab/upgrader.rb
lib/gitlab/upgrader.rb
+1
-4
No files found.
lib/gitlab/upgrader.rb
View file @
99830bb6
...
@@ -44,14 +44,11 @@ module Gitlab
...
@@ -44,14 +44,11 @@ module Gitlab
last_tag
=
git_tags
.
last
.
match
(
/v\d\.\d\.\d/
).
to_s
last_tag
=
git_tags
.
last
.
match
(
/v\d\.\d\.\d/
).
to_s
end
end
def
git_las_tags
end
def
update_commands
def
update_commands
{
{
"Stash changed files"
=>
"git stash"
,
"Stash changed files"
=>
"git stash"
,
"Get latest code"
=>
"git fetch"
,
"Get latest code"
=>
"git fetch"
,
"Switch to new version"
=>
"git checkout v
#{
latest_version
}
"
,
"Switch to new version"
=>
"git checkout
-b
v
#{
latest_version
}
"
,
"Install gems"
=>
"bundle"
,
"Install gems"
=>
"bundle"
,
"Migrate DB"
=>
"bundle exec rake db:migrate RAILS_ENV=production"
,
"Migrate DB"
=>
"bundle exec rake db:migrate RAILS_ENV=production"
,
"Recompile assets"
=>
"bundle exec rake assets:clean assets:precompile RAILS_ENV=production"
,
"Recompile assets"
=>
"bundle exec rake assets:clean assets:precompile RAILS_ENV=production"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment