Skip to content

Commit 86858fd

Browse files
staticfloatRAI CI (GitHub Action Automation)
authored andcommitted
Exclude 'build' from 'patch' in version parsing (JuliaLang#49059)
1 parent 8f6260a commit 86858fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Make.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ endif
195195
JULIA_VERSION := $(shell cat $(JULIAHOME)/VERSION)
196196
JULIA_MAJOR_VERSION := $(shell echo $(JULIA_VERSION) | cut -d'-' -f 1 | cut -d'.' -f 1)
197197
JULIA_MINOR_VERSION := $(shell echo $(JULIA_VERSION) | cut -d'-' -f 1 | cut -d'.' -f 2)
198-
JULIA_PATCH_VERSION := $(shell echo $(JULIA_VERSION) | cut -d'-' -f 1 | cut -d'.' -f 3)
198+
JULIA_PATCH_VERSION := $(shell echo $(JULIA_VERSION) | cut -d'-' -f 1 | cut -d'+' -f 1 | cut -d'.' -f 3)
199199

200200
# libjulia's SONAME will follow the format libjulia.so.$(SOMAJOR). Before v1.0.0,
201201
# SOMAJOR will be a two-decimal value, e.g. libjulia.so.0.5, whereas at and beyond

0 commit comments

Comments
 (0)