Skip to content

Commit

Permalink
chore: fix version in build
Browse files Browse the repository at this point in the history
  • Loading branch information
bitnet committed Jun 23, 2023
1 parent 3fd3559 commit 101a8cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: Get Github tag
id: meta
run: |
echo "tag=$(git describe --always --tags --match='v*')" >> "$GITHUB_OUTPUT"
echo "tag=$(git describe --always --tags --match='v*' | sed -e 's/^v//')" >> "$GITHUB_OUTPUT"
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/make -f

PACKAGES_NOSIMULATION=$(shell go list ./... | grep -v '/simulation')
VERSION ?= $(shell echo $(shell git describe --tags --always) | sed 's/^v//')
GIT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
GIT_TAGS := $(shell git describe --tags --always)
VERSION := $(GIT_BRANCH)-$(GIT_TAGS)
TMVERSION := $(shell go list -m github.com/tendermint/tendermint | sed 's:.* ::')
COMMIT := $(shell git log -1 --format='%H')
LEDGER_ENABLED ?= true
Expand Down

0 comments on commit 101a8cf

Please sign in to comment.