mirror of
https://github.com/rclone/rclone
synced 2024-11-12 10:50:08 +01:00
Fix tag to 8 digits of commit to make Appveyor and Travis consistent
This commit is contained in:
parent
5b063679b5
commit
77cd93ef89
2
Makefile
2
Makefile
@ -1,5 +1,5 @@
|
||||
SHELL = /bin/bash
|
||||
TAG := $(shell echo `git describe --tags`-`git rev-parse --abbrev-ref HEAD` | sed 's/-\([0-9]\)-/-0\1-/; s/-\(HEAD\|master\)$$//')
|
||||
TAG := $(shell echo `git describe --abbrev=8 --tags`-`git rev-parse --abbrev-ref HEAD` | sed 's/-\([0-9]\)-/-0\1-/; s/-\(HEAD\|master\)$$//')
|
||||
LAST_TAG := $(shell git describe --tags --abbrev=0)
|
||||
NEW_TAG := $(shell echo $(LAST_TAG) | perl -lpe 's/v//; $$_ += 0.01; $$_ = sprintf("v%.2f", $$_)')
|
||||
GO_VERSION := $(shell go version)
|
||||
|
Loading…
Reference in New Issue
Block a user