Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
lewislbr committed Oct 6, 2023
1 parent d844c7c commit d2919ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -28,7 +28,7 @@ jobs:
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
binary_name: "ready"
ldflags: -X "main.Version=${{ env.GIT_TAG }}"
ldflags: -X main.Version=${{ env.GIT_TAG }}
publish:
name: Publish package to Go proxy
runs-on: ubuntu-latest
Expand All @@ -43,4 +43,4 @@ jobs:
- name: Get git tag
run: echo "GIT_TAG=`echo $(git describe --tags --abbrev=0)`" >> $GITHUB_ENV
- name: Publish package
run: GO111MODULE=on GOPROXY=proxy.golang.org go list -m -ldflags '-X "main.Version=$GIT_TAG"' github.com/lewislbr/ready@"$GIT_TAG"
run: GO111MODULE=on GOPROXY=proxy.golang.org go list -ldflags "-X main.Version=${{ env.GIT_TAG }}" -m github.com/lewislbr/ready@${{ env.GIT_TAG }}

0 comments on commit d2919ae

Please sign in to comment.