From d7b79b4481d32dba39b9f61c53b2aed2f8f28913 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Thu, 18 Aug 2016 21:31:10 +0100 Subject: [PATCH] Mark the compiled from source version with -DEV - fixes #627 --- Makefile | 2 +- fs/version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index d38512565..330e158a4 100644 --- a/Makefile +++ b/Makefile @@ -89,7 +89,7 @@ serve: website tag: doc @echo "Old tag is $(LAST_TAG)" @echo "New tag is $(NEW_TAG)" - echo -e "package fs\n\n// Version of rclone\nvar Version = \"$(NEW_TAG)\"\n" | gofmt > fs/version.go + echo -e "package fs\n\n// Version of rclone\nvar Version = \"$(NEW_TAG)-DEV\"\n" | gofmt > fs/version.go perl -lpe 's/VERSION/${NEW_TAG}/g; s/DATE/'`date -I`'/g;' docs/content/downloads.md.in > docs/content/downloads.md git tag $(NEW_TAG) @echo "Add this to changelog in docs/content/changelog.md" diff --git a/fs/version.go b/fs/version.go index 4660d905a..cdc2f8a94 100644 --- a/fs/version.go +++ b/fs/version.go @@ -1,4 +1,4 @@ package fs // Version of rclone -var Version = "v1.32" +var Version = "v1.32-DEV"