From 3feffc0f77c5c525be15981791d948dc65784297 Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Sun, 3 Aug 2025 15:41:16 +0300 Subject: Directly embedding version inside the app instead of injecting it at build time, so there is always only one source of truth --- .github/workflows/release.yml | 4 ---- 1 file changed, 4 deletions(-) (limited to '.github/workflows/release.yml') 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 -- cgit v1.3.1