Skip to content

Commit

Permalink
removed version command
Browse files Browse the repository at this point in the history
  • Loading branch information
JocularMarrow committed Jun 18, 2024
1 parent cd69dc8 commit 91314e8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 49 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
mkdir -p bin
GOVERSION=$(go version | awk '{print $3}')
VERSION=${GITHUB_REF#refs/tags/v}
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o bin/hashit_${{ matrix.goos }}_${{ matrix.goarch }}$([[ ${{ matrix.goos }} == 'windows' ]] && echo .exe || echo '') -ldflags "-X 'github.com/TechMDW/hashit/internal/version.Version=$VERSION' -X 'github.com/TechMDW/hashit/internal/version.GoBuildVersion=$GOVERSION'" ./main.go
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o bin/hashit_${{ matrix.goos }}_${{ matrix.goarch }}$([[ ${{ matrix.goos }} == 'windows' ]] && echo .exe || echo '') ./main.go
- name: List files for debug
run: ls -la bin
Expand Down
24 changes: 0 additions & 24 deletions internal/cmd/version.go

This file was deleted.

24 changes: 0 additions & 24 deletions internal/version/version.go

This file was deleted.

0 comments on commit 91314e8

Please sign in to comment.