File tree Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Expand file tree Collapse file tree 3 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 24
24
25
25
steps :
26
26
- uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
27
+ with :
28
+ fetch-tags : true
29
+
30
+ # - name: Refresh Git Information
31
+ # if: startsWith(github.ref, 'refs/tags/')
32
+ # shell: bash
33
+ # run: |
34
+ # git fetch --force --tags
35
+ # git checkout "${GITHUB_REF_NAME}"
27
36
28
37
- name : Create Build Directory
29
38
run : cmake -E make_directory ./build
Original file line number Diff line number Diff line change @@ -583,7 +583,7 @@ static bool parseArguments(int argc, char *argv[])
583
583
std::string defaultDumpDir = getDefaultDumpDirectory ();
584
584
fprintf (stdout,
585
585
" cliloader - A utility to simplify using the Intercept Layer for OpenCL Applications\n "
586
- " Version: %s, from %s\n "
586
+ " Version: %s%s %s\n "
587
587
" \n "
588
588
" Usage: cliloader [OPTIONS] COMMAND\n "
589
589
" \n "
@@ -630,7 +630,8 @@ static bool parseArguments(int argc, char *argv[])
630
630
" %s\n "
631
631
" \n " ,
632
632
g_scGitDescribe,
633
- g_scGitRefSpec,
633
+ strlen (g_scGitRefSpec) > 0 ? " , from " : " " ,
634
+ strlen (g_scGitRefSpec) > 0 ? g_scGitRefSpec : " " ,
634
635
defaultDumpDir.c_str (),
635
636
g_scURL );
636
637
return false ;
Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ static bool parseArguments(int argc, char *argv[])
284
284
{
285
285
fprintf (stdout,
286
286
" cliprof - A simple utility to enable profiling using the Intercept Layer for OpenCL Applications\n "
287
- " Version: %s, from %s\n "
287
+ " Version: %s%s %s\n "
288
288
" \n "
289
289
" Usage: cliprof [OPTIONS] COMMAND\n "
290
290
" \n "
@@ -298,7 +298,8 @@ static bool parseArguments(int argc, char *argv[])
298
298
" %s\n "
299
299
" \n " ,
300
300
g_scGitDescribe,
301
- g_scGitRefSpec,
301
+ strlen (g_scGitRefSpec) > 0 ? " , from " : " " ,
302
+ strlen (g_scGitRefSpec) > 0 ? g_scGitRefSpec : " " ,
302
303
g_scURL );
303
304
return false ;
304
305
}
You can’t perform that action at this time.
0 commit comments