Commit 14c07a54 authored by xiaochenl's avatar xiaochenl

Update Makefile and release.yml

Update Makefile and release.yml
parent 2d313baf
......@@ -27,6 +27,6 @@ jobs:
- name: Release Binary
uses: softprops/action-gh-release@v1
with:
files: build/fabric-client-*
files: build/fabric-client-v*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
SHELL := /bin/bash
CURRENT_PATH = $(shell pwd)
DISTRO = $(shell uname)
CURRENT_TAG =$(shell git describe --abbrev=0 --tags)
GO = GO111MODULE=on go
......@@ -32,7 +33,7 @@ fabric1.4-linux:
release-binary:
mkdir -p build
$(GO) build -o build/fabric-client-${DISTRO} ./*.go
$(GO) build -o build/fabric-client-${CURRENT_TAG}-${DISTRO} ./*.go
## make linter: Run golanci-lint
linter:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment