Skip to content

Commit 908e299

Browse files
chore(release): v1.212.0
CI_JOB_NUMBER: 5679
1 parent eb7aa24 commit 908e299

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

GNUmakefile

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
TEST?=./...
22
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
411
RELEASE?=v$(VERSION)
512

613
default: build

version/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var (
1010
// Version represents the main version number.
1111
//
1212
// Read-only.
13-
Version = "1.211.0"
13+
Version = "1.212.0"
1414

1515
// Prerelease represents an optional pre-release label for the version.
1616
// If this is "" (empty string) then it means that it is a final release.

0 commit comments

Comments
 (0)