mirror of
https://tangled.org/tranquil.farm/tranquil-pds
synced 2026-09-19 08:44:13 +00:00
fix: only include timestamp in the build version if built in debug mode so release stays reproducible
This commit is contained in:
@@ -7,12 +7,16 @@ use tokio_util::sync::CancellationToken;
|
||||
use tracing::{error, info, warn};
|
||||
use tranquil_pds::comms::{CommsService, DiscordSender, EmailSender, SignalSender, TelegramSender};
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
const BUILD_VERSION: &str = concat!(
|
||||
env!("CARGO_PKG_VERSION"),
|
||||
" (built ",
|
||||
env!("BUILD_TIMESTAMP"),
|
||||
")"
|
||||
);
|
||||
#[cfg(not(debug_assertions))]
|
||||
const BUILD_VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||
|
||||
use tranquil_pds::crawlers::{Crawlers, start_crawlers_service};
|
||||
use tranquil_pds::scheduled::{
|
||||
backfill_genesis_commit_blocks, backfill_record_blobs, backfill_repo_rev, backfill_user_blocks,
|
||||
|
||||
Reference in New Issue
Block a user