File tree Expand file tree Collapse file tree 8 files changed +9
-9
lines changed Expand file tree Collapse file tree 8 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,15 @@ COVERAGE=coverage.out
5
5
6
6
MCLI_SOURCE_FILES? =./cmd/mongocli
7
7
MCLI_BINARY_NAME =mongocli
8
- MCLI_VERSION? =$(shell git tag --list 'mongocli/v* ' --sort=committerdate | tail -1 | cut -d "v" -f 2 | xargs -I % sh -c 'echo % -next' )
8
+ MCLI_VERSION? =$(shell git tag --list 'mongocli/v* ' --sort=taggerdate | tail -1 | cut -d "v" -f 2 | xargs -I % sh -c 'echo % -next' )
9
9
MCLI_GIT_SHA? =$(shell git rev-parse HEAD)
10
10
MCLI_DESTINATION =./bin/$(MCLI_BINARY_NAME )
11
11
MCLI_INSTALL_PATH ="${GOPATH}/bin/$(MCLI_BINARY_NAME ) "
12
12
MCLI_E2E_BINARY? =../../bin/${MCLI_BINARY_NAME}
13
13
14
14
ATLAS_SOURCE_FILES? =./cmd/atlas
15
15
ATLAS_BINARY_NAME =atlas
16
- ATLAS_VERSION? =$(shell git tag --list 'atlascli/v* ' --sort=committerdate | tail -1 | cut -d "v" -f 2 | xargs -I % sh -c 'echo % -next' )
16
+ ATLAS_VERSION? =$(shell git tag --list 'atlascli/v* ' --sort=taggerdate | tail -1 | cut -d "v" -f 2 | xargs -I % sh -c 'echo % -next' )
17
17
ATLAS_DESTINATION =./bin/$(ATLAS_BINARY_NAME )
18
18
ATLAS_INSTALL_PATH ="${GOPATH}/bin/$(ATLAS_BINARY_NAME ) "
19
19
Original file line number Diff line number Diff line change 16
16
17
17
set -Eeou pipefail
18
18
19
- VERSION=" $( git tag --list " ${tool_name:? } /v*" --sort=committerdate | tail -1 | cut -d " v" -f 2) "
19
+ VERSION=" $( git tag --list " ${tool_name:? } /v*" --sort=taggerdate | tail -1 | cut -d " v" -f 2) "
20
20
if [[ -z " ${VERSION} " ]]; then
21
21
VERSION=" $( git describe --abbrev=0 | cut -d " v" -f 2) "
22
22
fi
Original file line number Diff line number Diff line change 15
15
16
16
set -Eeou pipefail
17
17
18
- VERSION=" $( git tag --list " ${TOOL_NAME:? } /v*" --sort=committerdate | tail -1 | cut -d " v" -f 2) "
18
+ VERSION=" $( git tag --list " ${TOOL_NAME:? } /v*" --sort=taggerdate | tail -1 | cut -d " v" -f 2) "
19
19
if [[ -z " ${VERSION} " ]]; then
20
20
VERSION=" $( git describe --abbrev=0 | cut -d " v" -f 2) "
21
21
fi
Original file line number Diff line number Diff line change 15
15
# limitations under the License.
16
16
set -Eeou pipefail
17
17
18
- VERSION=" $( git tag --list " ${TOOL_NAME} /v*" --sort=committerdate | tail -1 | cut -d " v" -f 2) "
18
+ VERSION=" $( git tag --list " ${TOOL_NAME} /v*" --sort=taggerdate | tail -1 | cut -d " v" -f 2) "
19
19
20
20
if [[ -z " ${VERSION} " ]]; then
21
21
VERSION=$( git describe | cut -d " v" -f 2)
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export CGO_ENABLED
24
24
go-msi check-env
25
25
26
26
27
- VERSION=" $( git tag --list " ${TOOL_NAME:? } /v*" --sort=committerdate | tail -1 | cut -d " v" -f 2) "
27
+ VERSION=" $( git tag --list " ${TOOL_NAME:? } /v*" --sort=taggerdate | tail -1 | cut -d " v" -f 2) "
28
28
if [[ -z " ${VERSION} " ]]; then
29
29
VERSION=" $( git describe --abbrev=0 | cut -d " v" -f 2) "
30
30
fi
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export MACOS_NOTARY_SECRET=${notary_service_secret:?}
24
24
export GORELEASER_KEY=${goreleaser_key:? }
25
25
export VERSION_GIT
26
26
27
- VERSION_GIT=" $( git tag --list " ${tool_name:? } /v*" --sort=committerdate | tail -1 | cut -d " v" -f 2) "
27
+ VERSION_GIT=" $( git tag --list " ${tool_name:? } /v*" --sort=taggerdate | tail -1 | cut -d " v" -f 2) "
28
28
29
29
if [[ -z " ${VERSION_GIT} " ]]; then
30
30
VERSION_GIT=$( git describe --abbrev=0 | cut -d " v" -f 2)
Original file line number Diff line number Diff line change 17
17
set -Eeou pipefail
18
18
19
19
20
- VERSION=" $( git tag --list " ${tool_name:? } /v*" --sort=committerdate | tail -1 | cut -d " v" -f 2) "
20
+ VERSION=" $( git tag --list " ${tool_name:? } /v*" --sort=taggerdate | tail -1 | cut -d " v" -f 2) "
21
21
if [[ -z " ${VERSION} " ]]; then
22
22
VERSION=" $( git describe --abbrev=0 | cut -d " v" -f 2) "
23
23
fi
Original file line number Diff line number Diff line change 15
15
16
16
set -Eeou pipefail
17
17
18
- VERSION=" $( git tag --list " ${TOOL_NAME:? } /v*" --sort=committerdate | tail -1 | cut -d " v" -f 2) "
18
+ VERSION=" $( git tag --list " ${TOOL_NAME:? } /v*" --sort=taggerdate | tail -1 | cut -d " v" -f 2) "
19
19
if [[ -z " ${VERSION} " ]]; then
20
20
VERSION=" $( git describe --abbrev=0 | cut -d " v" -f 2) "
21
21
fi
You can’t perform that action at this time.
0 commit comments