diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-01-19 13:19:08 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2025-01-19 13:19:08 -0500 |
| commit | 7d4966f904485a3e18227bf607ae67753e18860c (patch) | |
| tree | a0b0765cba68559fd7f8ebafd125433314593a2b /Earthfile | |
| parent | 0c247a794cc33dd6a4fee45c943e0e289758080f (diff) | |
| download | x-7d4966f904485a3e18227bf607ae67753e18860c.tar.xz x-7d4966f904485a3e18227bf607ae67753e18860c.zip | |
embed version better?
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'Earthfile')
| -rw-r--r-- | Earthfile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -26,9 +26,8 @@ deps: everything: FROM +deps - ARG VERSION=no-version-error - COPY . . + ARG VERSION=$(git describe --tags --always --dirty) RUN mkdir -p bin RUN --mount=type=cache,target=/root/.cache GOBIN=$(pwd)/bin go install -ldflags="-X within.website/x.Version="${VERSION} ./... |
