fork of https://github.com/sourcegraph/zoekt
1#!/usr/bin/env bash
2
3# This is the psuedo-version that go.mod uses. We use the same version string
4# so that sourcegraph/sourcegraph's go.mod is kept in sync with the version we
5# publish.
6
7printf "::set-output name=value::"
8
9TZ=UTC git --no-pager show \
10 --quiet \
11 --abbrev=12 \
12 --date='format-local:%Y%m%d%H%M%S' \
13 --format="0.0.0-%cd-%h"