Mark the compiled from source version with -DEV - fixes #627

This commit is contained in:
Nick Craig-Wood 2016-08-18 21:31:10 +01:00
parent b5faaf7116
commit d7b79b4481
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -1,4 +1,4 @@
package fs
// Version of rclone
var Version = "v1.32"
var Version = "v1.32-DEV"