@@ -133,16 +133,17 @@ fn default_manifest_url() -> String {
133
133
let build_info = re_build_info:: build_info!( ) ;
134
134
let short_sha = build_info. short_git_hash ( ) ;
135
135
136
- if build_info. is_in_rerun_workspace {
137
- // Always point to `version/main` for rerun devs,
138
- // because the current commit's manifest is unlikely to be uploaded to GCS.
139
- "https://app.rerun.io/version/main/examples_manifest.json" . into ( )
140
- } else if build_info. version . is_rc ( ) || build_info. version . is_release ( ) {
141
- // Point to the current version's manifest
136
+ if build_info. version . is_rc ( ) || build_info. version . is_release ( ) {
137
+ // If this is versioned as a release or rc, always point to the versioned
138
+ // example manifest. This applies even if doing a local source build.
142
139
format ! (
143
140
"https://app.rerun.io/version/{version}/examples_manifest.json" ,
144
141
version = build_info. version,
145
142
)
143
+ } else if build_info. is_in_rerun_workspace {
144
+ // Otherwise, always point to `version/main` for rerun devs,
145
+ // because the current commit's manifest is unlikely to be uploaded to GCS.
146
+ "https://app.rerun.io/version/main/examples_manifest.json" . into ( )
146
147
} else if !short_sha. is_empty ( ) {
147
148
// If we have a sha, try to point at it.
148
149
format ! ( "https://app.rerun.io/commit/{short_sha}/examples_manifest.json" )
0 commit comments