Skip to content

Commit 7206d5d

Browse files
committed
Add note in README showing the file output and version printed
1 parent 4dee1c1 commit 7206d5d

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/build-binary.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Build Binary
33
on:
44
push:
55
tags:
6+
- v.*
67

78
jobs:
89
build:

README.org

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,3 +290,13 @@ command, puts the output in an archive, and uploads it as a release artifact to
290290
tag. The builds are performed for 3 architectures right now: amd64, arm (32 bit), and arm64. My
291291
motivation for this is to improve my personal setup to avoid having to download and build code on a
292292
Raspberry Pi which is annoyingly slow, compared to my other machines.
293+
294+
This is the sample output of a binary built for AMD64 running Linux:
295+
296+
#+begin_src sh
297+
$ file ./email-random-linux-amd64
298+
./email-random-linux-amd64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, Go BuildID=2xAAgiEbz0YaeTwVaLvY/TPl7Yke5m3o19Q8eJw4G/CoolvryF_ih8mxQTF0-9/heFRCu0IGe9Ljjo-wXRM, with debug_info, not stripped
299+
300+
$ ./email-random-linux-amd64 --version
301+
refs/tags/v0.0.3-alpha 11a11b367ac315be12403463dea06f01ea234d3c
302+
#+end_src

0 commit comments

Comments
 (0)