Skip to content

Commit

Permalink
Update release script
Browse files Browse the repository at this point in the history
  • Loading branch information
hancush committed Nov 30, 2023
1 parent 44c556e commit c6ff997
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ python manage.py migrate --noinput

if [ `psql ${DATABASE_URL} -tAX -c "SELECT COUNT(*) FROM camp_fin_candidate"` -eq "0" ]; then
python manage.py import_data
python -W ignore manage.py import_data_2023 --source-file _data/raw/CON_2020.csv
python -W ignore manage.py import_data_2023 --source-file _data/raw/CON_2021.csv
python -W ignore manage.py import_data_2023 --source-file _data/raw/CON_2022.csv
python -W ignore manage.py import_data_2023 --source-file _data/raw/CON_2023.csv
python -W ignore manage.py import_data_2023
python manage.py make_search_index
fi

Expand Down

0 comments on commit c6ff997

Please sign in to comment.