forked from External/greenlight
add build numbers
This commit is contained in:
parent
98a8cdbd2a
commit
76316b96ec
1
.gitignore
vendored
1
.gitignore
vendored
@ -21,4 +21,3 @@ vendor/.bundle
|
||||
|
||||
# Ignore Byebug command history file.
|
||||
.byebug_history
|
||||
.env
|
||||
|
@ -42,4 +42,10 @@ module ApplicationHelper
|
||||
providers
|
||||
end
|
||||
end
|
||||
|
||||
def version
|
||||
Greenlight::VERSION
|
||||
rescue
|
||||
'development'
|
||||
end
|
||||
end
|
||||
|
@ -71,7 +71,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
<!-- Footer -->
|
||||
<div class='footer text-center'>
|
||||
<%= t('powered_bigbluebutton_html', link: link_to('BigBlueButton', 'http://bigbluebutton.org/', target: "_blank")) %>
|
||||
<%= t('footer_html', greenlight_link: link_to('Greenlight', 'https://github.com/bigbluebutton/greenlight', target: "_blank"), version: version, bbb_link: link_to('BigBlueButton', 'http://bigbluebutton.org/', target: "_blank")) %>
|
||||
</div>
|
||||
<!-- End of Footer -->
|
||||
</body>
|
||||
|
@ -10,4 +10,5 @@ deployment:
|
||||
hub:
|
||||
branch: master
|
||||
commands:
|
||||
- ./scripts/set_version.sh
|
||||
- ./scripts/build_image_master.sh
|
||||
|
@ -71,7 +71,7 @@ en-US:
|
||||
no: No
|
||||
oauth_signup: Signup for customized sessions
|
||||
past_recordings: Past Recordings
|
||||
powered_bigbluebutton_html: Powered by %{link}
|
||||
footer_html: "%{greenlight_link} build %{version}, Powered by %{bbb_link}"
|
||||
presentation: Presentation
|
||||
previously_joined_meetings: Previously Joined Sessions
|
||||
return_to_room: Return to your personal room
|
||||
|
3
scripts/set_version.sh
Executable file
3
scripts/set_version.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "module Greenlight VERSION = ${CIRCLE_BUILD_NUM} end" >| $HOME/greenlight/app/lib/version.rb
|
Loading…
x
Reference in New Issue
Block a user