1
0
mirror of https://github.com/krislamo/vagrant-easyredmine synced 2024-11-13 23:50:34 +00:00
vagrant-easyredmine/roles/easyredmine/templates/redmine_fetch_changesets.j2
2018-01-24 13:48:08 -05:00

13 lines
307 B
Django/Jinja
Executable File

#!/bin/bash
# retrieve svn changes for Redmine
cd {{ redmine_root_dir }}
[[ -s "{{ rvm1_install_path }}/scripts/rvm" ]] && \
source "{{ rvm1_install_path }}/scripts/rvm"
{{ rvm1_install_path }}/gems/ruby-{{ ruby_version }}/bin/bundle exec rake \
eupathdb:fetch_changesets \
RAILS_ENV="production"