Skip to content
Snippets Groups Projects
Commit bf3b0fad authored by Cédric Moreau's avatar Cédric Moreau
Browse files

fix: missing g1-data.json field

parent 22cdc076
No related branches found
No related tags found
1 merge request!207Release/runtime 701
Pipeline #34549 waiting for manual action
...@@ -255,7 +255,7 @@ create_g1_data: ...@@ -255,7 +255,7 @@ create_g1_data:
- sqlite3 /dump/duniter_default/txs.db --json "select time,comment,issuers,outputs from txs;" > inputs/transactions_history.json 2>> inputs/txs.err - sqlite3 /dump/duniter_default/txs.db --json "select time,comment,issuers,outputs from txs;" > inputs/transactions_history.json 2>> inputs/txs.err
- ./generate_transactions_history.py - ./generate_transactions_history.py
# Merge in one file # Merge in one file
- 'jq -s "{ identities: .[0].identities, wallets: .[0].wallets, initial_monetary_mass: .[0].initial_monetary_mass, transactions_history: .[1] }" output/gtest_genesis.json output/history.json > output/g1-data.json' - 'jq -s "{ identities: .[0].identities, wallets: .[0].wallets, initial_monetary_mass: .[0].initial_monetary_mass, current_block: .[0].current_block, transactions_history: .[1] }" output/gtest_genesis.json output/history.json > output/g1-data.json'
# Make the exported file available for next jobs # Make the exported file available for next jobs
- mkdir -p $CI_PROJECT_DIR/release/ - mkdir -p $CI_PROJECT_DIR/release/
- cp output/g1-data.json $CI_PROJECT_DIR/release/ - cp output/g1-data.json $CI_PROJECT_DIR/release/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment