diff options
| author | Kyren223 <kyren223@proton.me> | 2025-08-03 15:41:16 +0300 |
|---|---|---|
| committer | Kyren223 <kyren223@proton.me> | 2025-08-03 15:41:16 +0300 |
| commit | 3feffc0f77c5c525be15981791d948dc65784297 (patch) | |
| tree | 35265b56469dabb7fa65fc02e3f9fa16c0e60488 /.github | |
| parent | 9913e614ec9ecfa73551c72813ef39f125b310f5 (diff) | |
Directly embedding version inside the app instead of injecting it at
build time, so there is always only one source of truth
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/release.yml | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 89ace0a..439da0f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,9 +22,6 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set RELEASE_TAG env - run: echo RELEASE_TAG=$(echo ${GITHUB_REF/refs\/tags\//}) >> ${GITHUB_ENV} - - name: Set COMMIT env run: echo COMMIT=$(git rev-parse --short=7 HEAD) >> ${GITHUB_ENV} @@ -38,7 +35,6 @@ jobs: goarch: ${{ matrix.goarch }} binary_name: eko ldflags: > - -X "github.com/kyren223/eko/embeds.Version=${{ env.RELEASE_TAG }}" -X "github.com/kyren223/eko/embeds.Commit=${{ env.COMMIT }}" -X "github.com/kyren223/eko/embeds.BuildDate=${{ env.BUILD_DATE }}" project_path: ./cmd/client |
