Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

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
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
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.