From bac4b3d5cb4b6e87b958d03c070a9d55721d2e72 Mon Sep 17 00:00:00 2001 From: Fred Silberberg Date: Sun, 1 Jan 2017 00:13:00 -0800 Subject: [PATCH] Fixed gradle publish with no flags. (#176) --- publish.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/publish.gradle b/publish.gradle index b5c9136e2f..9d0f208364 100644 --- a/publish.gradle +++ b/publish.gradle @@ -43,6 +43,12 @@ if (project.buildArm) { project(':arm:ntcore').build.dependsOn outputVersions } +if (!hasProperty('releaseType')) { + WPILibVersion { + releaseType = 'dev' + } +} + // We change what repo we publish to depending on whether this is a development, beta, stable, or full // release. This is set up in the main gradle file. publishing {