Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing #290

Merged
merged 18 commits into from Dec 30, 2021
Merged

Testing #290

merged 18 commits into from Dec 30, 2021

Conversation

ericgaspar
Copy link
Member

@ericgaspar ericgaspar commented Dec 24, 2021

@ericgaspar
Copy link
Member Author

!testme

@yunohost-bot
Copy link
Contributor

Alrighty!
Test Badge

scripts/upgrade Outdated
ynh_script_progression --message="Running Peertube 4.0.0 migration script..."

pushd "$final_path"
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH NODE_CONFIG_DIR="$final_path/config" NODE_ENV=production node dist/scripts/migrations/peertube-4.0.js
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should add a test that checks that the old version is < 4 and the newer is >= 4? That way we wouldn't be performing the migration more that once?

@ericgaspar
Copy link
Member Author

!testme

@yunohost-bot
Copy link
Contributor

😜
Test Badge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants