From 016c59fd4c6e4b2eba25252d7739380564932966 Mon Sep 17 00:00:00 2001
From: Dima Ryazanov <dima@gmail.com>
Date: Mon, 18 Sep 2023 07:16:20 -0700
Subject: [PATCH] Bump quiltcore and use workflows

---
 plugins/nf-quilt/build.gradle                                   | 2 +-
 .../nf-quilt/src/main/nextflow/quilt/jep/QuiltPackage.groovy    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/plugins/nf-quilt/build.gradle b/plugins/nf-quilt/build.gradle
index c9d3ae5e..62ac06cd 100644
--- a/plugins/nf-quilt/build.gradle
+++ b/plugins/nf-quilt/build.gradle
@@ -61,7 +61,7 @@ ext{
 
 dependencies {
     // quiltcore
-    implementation 'com.quiltdata.quiltcore:quiltcore:0.0.2'
+    implementation 'com.quiltdata.quiltcore:quiltcore:0.0.3'
 
     // This dependency is exported to consumers, that is to say found on their compile classpath.
     compileOnly "io.nextflow:nextflow:$nextflowVersion"
diff --git a/plugins/nf-quilt/src/main/nextflow/quilt/jep/QuiltPackage.groovy b/plugins/nf-quilt/src/main/nextflow/quilt/jep/QuiltPackage.groovy
index 420b056c..244a7c8b 100644
--- a/plugins/nf-quilt/src/main/nextflow/quilt/jep/QuiltPackage.groovy
+++ b/plugins/nf-quilt/src/main/nextflow/quilt/jep/QuiltPackage.groovy
@@ -253,7 +253,7 @@ class QuiltPackage {
         Manifest m = builder.build()
 
         try {
-            m.push(namespace, "nf-quilt:${today()}-${msg}")
+            m.push(namespace, "nf-quilt:${today()}-${msg}", parsed.workflowName)
         } catch (IOException e) {
             return 1
         }