Skip to content

Commit

Permalink
fix issue with git tags and builds
Browse files Browse the repository at this point in the history
  • Loading branch information
lspgn committed Dec 9, 2020
1 parent 2d643f1 commit 9abe2d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: '0'


- name: Set env
run: echo "OCTORPKI_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Build
run: |
GOOS=linux make build-octorpki
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ BUILDINFOSDET ?=

DOCKER_REPO := cloudflare/
OCTORPKI_NAME := octorpki
OCTORPKI_VERSION := $(shell git describe)
OCTORPKI_VERSION ?= $(shell git describe)
VERSION_PKG := $(shell echo $(OCTORPKI_VERSION) | sed 's/^v//g')
ARCH := x86_64
LICENSE := BSD-3
Expand Down

0 comments on commit 9abe2d3

Please sign in to comment.