summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authorKyren223 <kyren223@proton.me>2025-08-03 15:41:16 +0300
committerKyren223 <kyren223@proton.me>2025-08-03 15:41:16 +0300
commit3feffc0f77c5c525be15981791d948dc65784297 (patch)
tree35265b56469dabb7fa65fc02e3f9fa16c0e60488 /.github/workflows/release.yml
parent9913e614ec9ecfa73551c72813ef39f125b310f5 (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/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml4
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