Maybe: use export instead

This commit is contained in:
vhsdream 2025-06-08 21:30:17 -04:00
parent 12d64041b0
commit eed413aa64
2 changed files with 4 additions and 2 deletions

View File

@ -49,7 +49,8 @@ function update_script() {
$STD ./bin/bundle install $STD ./bin/bundle install
$STD ./bin/bundle exec bootsnap precompile --gemfile -j 0 $STD ./bin/bundle exec bootsnap precompile --gemfile -j 0
$STD ./bin/bundle exec bootsnap precompile -j 0 app/ lib/ $STD ./bin/bundle exec bootsnap precompile -j 0 app/ lib/
SECRET_KEY_BASE_DUMMY=1 $STD ./bin/rails assets:precompile export SECRET_KEY_BASE_DUMMY=1
$STD ./bin/rails assets:precompile
$STD dotenv -f ./.env ./bin/rails db:prepare $STD dotenv -f ./.env ./bin/rails db:prepare
msg_ok "Updated $APP to v${RELEASE}" msg_ok "Updated $APP to v${RELEASE}"

View File

@ -74,7 +74,8 @@ RAILS_ASSUME_SSL=false' \
$STD ./bin/bundle install $STD ./bin/bundle install
$STD ./bin/bundle exec bootsnap precompile --gemfile -j 0 $STD ./bin/bundle exec bootsnap precompile --gemfile -j 0
$STD ./bin/bundle exec bootsnap precompile -j 0 app/ lib/ $STD ./bin/bundle exec bootsnap precompile -j 0 app/ lib/
SECRET_KEY_BASE_DUMMY=1 $STD ./bin/rails assets:precompile export SECRET_KEY_BASE_DUMMY=1
$STD ./bin/rails assets:precompile
$STD dotenv -f ./.env ./bin/rails db:prepare $STD dotenv -f ./.env ./bin/rails db:prepare
echo "${RELEASE}" >/opt/maybe_version.txt echo "${RELEASE}" >/opt/maybe_version.txt
msg_ok "Installed ${APPLICATION}" msg_ok "Installed ${APPLICATION}"