build.savant in fusionauth_client-1.10.0 vs build.savant in fusionauth_client-1.11.0
- old
+ new
@@ -14,11 +14,11 @@
* language governing permissions and limitations under the License.
*/
savantVersion = "1.0.0"
pubVersion = ""
-project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.10.0", licenses: ["ApacheV2_0"]) {
+project(group: "io.fusionauth", name: "fusionauth-ruby-client", version: "1.11.0", licenses: ["ApacheV2_0"]) {
workflow {
standard()
}
publishWorkflow {
@@ -66,23 +66,19 @@
}
target(name: "bundle", description: "Builds the project release bundle", dependsOn: ["int"]) {
}
-target(name: "gem-publish", description: "Publish the GEM file", dependsOn: ["clean", "compile"]) {
+target(name: "publish", description: "Publish the GEM file", dependsOn: ["clean", "compile"]) {
ProcessBuilder pb = new ProcessBuilder('gem', 'push', "pkg/fusionauth_client-${pubVersion}.gem").inheritIO()
clearEnvironment(pb)
if (pb.start().waitFor() != 0) {
fail("Gem push failed")
}
}
target(name: "release", description: "Releases a full version of the project", dependsOn: ["clean", "int"]) {
release.release()
-
-// if (new ProcessBuilder('gem', 'push', "pkg/fusionauth_client-${pubVersion}.gem").inheritIO().start().waitFor() != 0) {
-// fail("Tests failed")
-// }
}
/**
* Clears out the RBENV variables in the environment.
*