Commit 908e299 1 parent eb7aa24 commit 908e299 Copy full SHA for 908e299
File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1
1
TEST? =./...
2
2
PKGNAME? =spotinst
3
- VERSION? =$(shell ggrep -oP '(?<=Version = ) .+' version/version.go | xargs)
3
+
4
+ # Use GNU Grep instead of BSD Grep on macOS
5
+ UNAME_S := $(shell uname -s)
6
+ ifeq ($(UNAME_S ) ,Darwin)
7
+ VERSION?=$(shell ggrep -oP '(?<=Version = ).+' version/version.go | xargs)
8
+ else
9
+ VERSION?=$(shell grep -oP '(?<=Version = ).+' version/version.go | xargs)
10
+ endif
4
11
RELEASE? =v$(VERSION )
5
12
6
13
default : build
Original file line number Diff line number Diff line change 10
10
// Version represents the main version number.
11
11
//
12
12
// Read-only.
13
- Version = "1.211 .0"
13
+ Version = "1.212 .0"
14
14
15
15
// Prerelease represents an optional pre-release label for the version.
16
16
// If this is "" (empty string) then it means that it is a final release.
You can’t perform that action at this time.
0 commit comments