You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by cm...@apache.org on 2019/10/26 12:57:33 UTC

[incubator-mxnet] branch clojure-release-script created (now 1a8f72d)

This is an automated email from the ASF dual-hosted git repository.

cmeier pushed a change to branch clojure-release-script
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git.


      at 1a8f72d  validation

This branch includes the following new commits:

     new ff5759b  add repostiories for deployment
     new 92b7351  wip
     new edcf660  Get the deploy side working - next will come the validate of the deployed jar
     new 32c06fe  make next steps more clear
     new 1a8f72d  validation

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-mxnet] 01/05: add repostiories for deployment

Posted by cm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

cmeier pushed a commit to branch clojure-release-script
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git

commit ff5759b01920e3378ca76140aa57ae7e35e37698
Author: gigasquid <cm...@gigasquidsoftware.com>
AuthorDate: Fri Oct 25 14:37:43 2019 -0400

    add repostiories for deployment
---
 contrib/clojure-package/project.clj | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/contrib/clojure-package/project.clj b/contrib/clojure-package/project.clj
index 718fbf6..3bbb6d4 100644
--- a/contrib/clojure-package/project.clj
+++ b/contrib/clojure-package/project.clj
@@ -41,7 +41,15 @@
             [lein-cljfmt "0.5.7"]]
   :codox {:namespaces [#"^org\.apache\.clojure-mxnet\.(?!gen).*"]}
   :aot [dev.generator]
-  :repositories [["staging" {:url "https://repository.apache.org/content/repositories/staging"                  :snapshots true
-                             :update :always}]
+  :deploy-repositories [["staging" {:sign-releases true
+                                    :url "https://repository.apache.org/service/local/staging/deploy/maven2"
+                                    :creds :gpg
+                                    :signing {:gpg-key "your key"} ;; this can be email of key-id
+                                    :snapshots true
+                                    :checksum :fail
+                                    :update :always
+                                    :releases {:checksum :fail :update :always}}]]
+  :repositories [["download-staging" {:url "https://repository.apache.org/content/repositories/staging"                  :snapshots true
+                                    :update :always}]
                  ["snapshots" {:url "https://repository.apache.org/content/repositories/snapshots"               :snapshots true
-                               :update :always}]])
+                                      :update :always}]])


[incubator-mxnet] 02/05: wip

Posted by cm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

cmeier pushed a commit to branch clojure-release-script
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git

commit 92b73514ad522517790b74cd5d444a5ea1eb6a8c
Author: gigasquid <cm...@gigasquidsoftware.com>
AuthorDate: Fri Oct 25 16:08:55 2019 -0400

    wip
---
 .../examples/imclassification/project.clj          |   4 +-
 .../clojure-package/src/dev/package_release.clj    | 224 +++++++++++++++++++++
 2 files changed, 227 insertions(+), 1 deletion(-)

diff --git a/contrib/clojure-package/examples/imclassification/project.clj b/contrib/clojure-package/examples/imclassification/project.clj
index 702a33d..08e7ae3 100644
--- a/contrib/clojure-package/examples/imclassification/project.clj
+++ b/contrib/clojure-package/examples/imclassification/project.clj
@@ -21,4 +21,6 @@
   :dependencies [[org.clojure/clojure "1.9.0"]
                  [org.apache.mxnet.contrib.clojure/clojure-mxnet "1.6.0-SNAPSHOT"]]
   :pedantic? :skip
-  :main imclassification.train-mnist)
+  :main imclassification.train-mnist
+  :repositories [["download-staging" {:url "https://repository.apache.org/content/repositories/staging"                  :snapshots true
+                                    :update :always}]])
diff --git a/contrib/clojure-package/src/dev/package_release.clj b/contrib/clojure-package/src/dev/package_release.clj
new file mode 100644
index 0000000..cc3c946
--- /dev/null
+++ b/contrib/clojure-package/src/dev/package_release.clj
@@ -0,0 +1,224 @@
+(ns dev.package-release
+  (:require [clojure.java.io :as io]
+            [clojure.edn :as edn]
+            [clojure.java.shell :refer [sh]]
+            [clojure.spec.alpha :as s]
+            [clojure.string :as string]
+            [dev.generator]))
+
+(s/def ::build-type #{:osx-cpu :linux-gpu :linux-cpu})
+(s/def ::release-number string?)
+(s/def ::apache-gpg-key string?)
+(s/def ::release-args (s/keys :req-un [::build-type ::release-number
+                                       ::apache-gpg-key]))
+
+(def scala-jar-name
+  {:linux-cpu "org.apache.mxnet/mxnet-full_2.11-linux-x86_64-cpu"
+   :linux-gpu "org.apache.mxnet/mxnet-full_2.11-linux-x86_64-gpu"
+   :osx-cpu "org.apache.mxnet/mxnet-full_2.11-osx-x86_64-cpu"})
+
+(defn backup-project-file
+  "Backs up a copy of the original project file"
+  []
+  (do
+    (sh "cp" "project.clj" "project.clj.bak")
+    (sh "cp" "examples/imclassification/project.clj" "examples/imclassification/project.clj.bak")))
+
+(defn make-new-project-file
+  "Creates a new project file for the relase by
+  changing the build type and the version along
+  with the release number and the signer's public key
+  which can be an email"
+  [{:keys [build-type release-number apache-gpg-key]}]
+
+  (let [project-data (read-string (slurp "project.clj"))
+        project-header (take 3 project-data)
+        project-rest-map (->> project-data
+                              (drop 3)
+                              (apply hash-map))
+        new-header `[~'defproject
+                     ~(symbol (str "org.apache.mxnet.contrib.clojure/clojure-mxnet"
+                                   "-" (name build-type)))
+                     ~release-number]
+        new-dependencies (->> (:dependencies project-rest-map)
+                              (remove #(string/includes? % "org.apache.mxnet"))
+                              (into [[(symbol (scala-jar-name build-type)) release-number]]))
+        new-project-rest-map     (-> project-rest-map
+                                     (assoc :dependencies new-dependencies)
+                                     (assoc-in [:deploy-repositories 0 1 :signing :gpg-key]
+                                               apache-gpg-key))]
+
+    (as-> (into [] new-project-rest-map) p
+      (into new-header (mapcat identity p))
+      (apply list p)
+      (with-out-str (clojure.pprint/pprint p))
+      (str dev.generator/license p)
+      (spit "project.clj" p))))
+
+(defn run-commands
+  "Run shell commands and report exit and out"
+  ([commands text]
+   (commands text nil))
+  ([commands text dir]
+   (do
+     (println "=====================  " text  "  =====================")
+     (println "Please wait ....")
+     (flush))
+   (let [{:keys [out exit err]} (apply sh (if dir
+                                            (into commands [:dir dir])
+                                            commands))]
+     (do
+       (println out)
+       (flush)
+       (when-not (zero? exit)
+         (println "Errors:")
+         (println err)
+         (flush))
+       (zero? exit)))))
+
+(defn reset-project-files
+  "Resets the projects files back to the original saved version"
+  []
+  (do
+    (sh "cp" "project.clj" "new-project-clj")
+    (sh "cp" "project.clj.bak" "project.clj")
+    (sh "cp" "examples/imclassification/project.clj.bak" "examples/imclassification/project.clj")))
+
+(defn run-tests-and-install
+  "With the project file in place, use lein to
+  dowload deps, run tests and then install the generated
+  jar"
+  []
+  (if (and (run-commands ["lein" "test"] "Running Tests")
+           (run-commands ["lein" "install"] "Running Install"))
+    (do
+      (println "************************")
+      (println "*****    SUCCESS   *****")
+      (println "************************")
+      (flush))
+    (do
+      (println "************************")
+      (println "*****    FAILURE   *****")
+      (println "************************")
+      (flush))))
+
+
+(defn clean-m2-release
+  "This will move maven downloads of the release to test the
+  download of the deployed jar from staging"
+  [build-type release-number]
+  (let [m2-path (str (System/getProperty "user.home")
+                     "/.m2/repository/org/apache/mxnet/contrib/clojure/clojure-mxnet"
+                     "-" build-type "/"
+                     release-number)
+        files-to-be-cleared (:out (sh "ls" m2-path))]
+    (when files-to-be-cleared
+      (println "Installed m2 jars found")
+      (print files-to-be-cleared)
+      (println "Do you want to mv the the m2 paths of " m2-path "to" (str m2-path "-bak") "?")
+      (println "Type \"yes\" to confirm: ")
+      (flush)
+      (let [answer (read-line)]
+        (if (= "yes" answer)
+          (println (sh "mv" m2-path (str m2-path "-bak")))
+          (println "Not moving"))))))
+
+(defn test-installed-jar [build-type release-number]
+  (let [project-data (read-string (slurp "./examples/imclassification/project.clj"))
+        project-header (into [] (take 3 project-data))
+        project-rest-map (->> project-data
+                              (drop 3)
+                              (apply hash-map))
+        new-dependencies (->> (:dependencies project-rest-map)
+                              (remove #(string/includes? % "org.apache.mxnet"))
+                              (into [[(symbol (str "org.apache.mxnet.contrib.clojure/clojure-mxnet-" build-type)) release-number]]))
+        new-project-rest-map     (-> project-rest-map
+                                     (assoc :dependencies new-dependencies))]
+    (do
+      (as-> (into [] new-project-rest-map) p
+        (into project-header (mapcat identity p))
+        (apply list p)
+        (with-out-str (clojure.pprint/pprint p))
+        (str dev.generator/license p)
+        (spit "./examples/imclassification/project.clj" p))
+      (run-commands ["lein" "run"]
+                    "Running Image Classification Example"
+                    "examples/imclassification"))))
+
+
+(defn run-build [args]
+  (let [[build-type release-number apache-gpg-key] args
+        release-args {:build-type (keyword build-type)
+                      :release-number release-number
+                      :apache-gpg-key apache-gpg-key}]
+    
+    (if (s/valid? ::release-args release-args)
+      (try
+        (do
+          (test-installed-jar build-type release-number)
+          (System/exit 0)
+          )
+        #_(do
+            (make-new-project-file {:build-type :osx-cpu
+                                    :release-number "1.5.1"
+                                    :apache-gpg-key "cmeier@apache.org"} )
+            (run-tests-and-install)
+            (System/exit 0)
+            )
+        (finally (reset-project-files)))
+      (do
+        (println "Error with Args" release-args)
+        (s/explain ::release-args release-args))
+      )))
+
+(defn -main [& args]
+  (run-build args)
+)
+
+
+(comment
+
+
+
+  (let [build-type "osx-cpu"
+        release-number "1.5.1"
+        project-data (read-string (slurp "./examples/imclassification/project.clj"))
+        project-header (into [] (take 3 project-data))
+        project-rest-map (->> project-data
+                              (drop 3)
+                              (apply hash-map))
+        new-dependencies (->> (:dependencies project-rest-map)
+                              (remove #(string/includes? % "org.apache.mxnet"))
+                              (into [[(symbol (str "org.apache.mxnet.contrib.clojure/clojure-mxnet-" build-type)) release-number]]))
+        new-project-rest-map     (-> project-rest-map
+                                     (assoc :dependencies new-dependencies))]
+    new-project-rest-map
+    (do
+      (as-> (into [] new-project-rest-map) p
+        (into project-header (mapcat identity p))
+        (apply list p)
+        #_(with-out-str (clojure.pprint/pprint p))
+        #_(str dev.generator/license p)
+        #_(spit "./examples/imclassification/new-project.clj" p))
+      #_(run-commands ["lein" "run"]
+                    "Running Image Classification Example"
+                    "examples/imclassification")))
+
+  (run-build ["osx-cpu" "1.5.1" "cmeier@apache.org"])
+  
+  (let [m2-path (str (System/getProperty "user.home")
+                 "/.m2/repository/org/apache/mxnet/contrib/clojure/clojure-mxnet")
+        files-to-be-cleared (:out (sh "ls" m2-path))]
+    files-to-be-cleared)
+
+  (sh "cd" "examples")
+  (sh "lein" "run" :dir "examples/imclassification")
+  (sh "pwd")
+
+  (sh "ls" "~")
+
+
+
+"[[org.apache.mxnet.contrib.clojure/clojure-mxnet-osx-cpu \"1.5.1\"]]"
+  
+  )


[incubator-mxnet] 05/05: validation

Posted by cm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

cmeier pushed a commit to branch clojure-release-script
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git

commit 1a8f72dd76b5dd76315270b221ca496d978dd872
Author: gigasquid <cm...@gigasquidsoftware.com>
AuthorDate: Sat Oct 26 08:56:24 2019 -0400

    validation
---
 .../clojure-package/src/dev/package_release.clj    | 70 +++++++++++++++++-----
 1 file changed, 56 insertions(+), 14 deletions(-)

diff --git a/contrib/clojure-package/src/dev/package_release.clj b/contrib/clojure-package/src/dev/package_release.clj
index 433f0f0..51a5c6c 100644
--- a/contrib/clojure-package/src/dev/package_release.clj
+++ b/contrib/clojure-package/src/dev/package_release.clj
@@ -12,6 +12,8 @@
 (s/def ::release-args (s/keys :req-un [::build-type ::release-number
                                        ::apache-gpg-key]))
 
+(s/def ::validate-args (s/keys :req-un [::build-type ::release-number]))
+
 (def scala-jar-name
   {:linux-cpu "org.apache.mxnet/mxnet-full_2.11-linux-x86_64-cpu"
    :linux-gpu "org.apache.mxnet/mxnet-full_2.11-linux-x86_64-gpu"
@@ -99,23 +101,27 @@
   "This will move maven downloads of the release to test the
   download of the deployed jar from staging"
   [build-type release-number]
-  (let [m2-path (str (System/getProperty "user.home")
+  (let [mv-id (str release-number "-" (java.util.UUID/randomUUID) "-bak")
+        m2-path (str (System/getProperty "user.home")
                      "/.m2/repository/org/apache/mxnet/contrib/clojure/clojure-mxnet"
-                     "-" build-type "/"
-                     release-number)
+                     "-" build-type)
         files-to-be-cleared (:out (sh "ls" m2-path))]
-    (when files-to-be-cleared
+    (when-not (string/blank? files-to-be-cleared)
       (println "Installed m2 jars found")
       (print files-to-be-cleared)
-      (println "Do you want to mv the the m2 paths of " m2-path "to" (str m2-path "-bak") "?")
+      (println "Do you want to mv the dir " release-number " in " m2-path "to" mv-id)
       (println "Type \"yes\" to confirm: ")
       (flush)
       (let [answer (read-line)]
         (if (= "yes" answer)
-          (println (sh "mv" m2-path (str m2-path "-bak")))
+          (println (sh "mv" release-number mv-id :dir m2-path))
           (println "Not moving"))))))
 
-(defn test-installed-jar [build-type release-number]
+
+(defn test-installed-jar
+  "Tests the example with a jar locally if in maven
+  or downloads from the apache repo if needed"
+  [build-type release-number]
   (let [project-data (read-string (slurp "./examples/imclassification/project.clj"))
         project-header (into [] (take 3 project-data))
         project-rest-map (->> project-data
@@ -133,9 +139,13 @@
         (with-out-str (clojure.pprint/pprint p))
         (str dev.generator/license p)
         (spit "./examples/imclassification/project.clj" p))
-      (run-commands ["lein" "run"]
+      (run-commands ["lein" "run" ":cpu"]
                     "Running Image Classification Example"
-                    "examples/imclassification"))))
+                    "examples/imclassification")
+      (when (= :linux-gpu build-type)
+        (run-commands ["lein" "run" ":gpu"]
+                      "Running Image Classification Example"
+                      "examples/imclassification")))))
 
 (defn print-deploy-instructions []
   (do
@@ -148,8 +158,15 @@
     (println "^^^^^^^^^^^^^^^^^^^^^^^^^^^^   \n\n\n\n")
     (flush)))
 
+(defn print-test-deploy-conf []
+  (do
+    (println "**************************")
+    (println "*****SUCCESS!!!*****")
+    (println "**************************")
+    (flush)))
+
 (defn run-build [args]
-  (let [[build-type release-number apache-gpg-key] args
+  (let [[_ build-type release-number apache-gpg-key] args
         release-args {:build-type (keyword build-type)
                       :release-number release-number
                       :apache-gpg-key apache-gpg-key}]
@@ -166,13 +183,38 @@
         (System/exit 0))
       (do
         (println "Error with Args" release-args)
-        (s/explain ::release-args release-args))
-      )))
+        (s/explain ::release-args release-args)))))
+
+(defn validate-deploy [args]
+  (let [[_ build-type release-number] args
+        validate-args {:build-type (keyword build-type)
+                      :release-number release-number}]
+
+    (if (s/valid? ::validate-args validate-args)
+      (do
+        (clean-m2-release build-type release-number)
+        (test-installed-jar build-type release-number)
+        (print-test-deploy-conf)
+        (System/exit 0))
+      (do
+        (println "Error with Args" validate-args)
+        (s/explain ::validate-args validate-args)))))
 
 (defn -main [& args]
-  (run-build args))
+  (let [op (first args)]
+   (case op
+     ":run-build" (run-build args)
+     ":validate-deploy" (validate-deploy args)
+     (println "Invalid command! first arg must be :run-build or :validate-deploy"))))
 
 (comment
- (run-commands ["./scripts/setup_deploy_env.sh"] "Setting up display for deploy")
+  ;;; todo move it out into a seperate deploy project so it doesn't have to load up the generator every time
+  ;;; add scripts in the project to deploy verify 
+  
+  (run-commands ["./scripts/setup_deploy_env.sh"] "Setting up display for deploy")
+  (sh "rm" "test.txt")
+
+  lein run -m dev.package-release :run-build "osx-cpu" "1.5.1" "cmeier@apache.org"
+  lein run -m dev.package-release :validate-deploy "osx-cpu" "1.5.1"
 
   )


[incubator-mxnet] 03/05: Get the deploy side working - next will come the validate of the deployed jar

Posted by cm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

cmeier pushed a commit to branch clojure-release-script
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git

commit edcf660e647c527100ca4e66ac79c5f2819eee25
Author: gigasquid <cm...@gigasquidsoftware.com>
AuthorDate: Sat Oct 26 07:56:36 2019 -0400

    Get the deploy side working
    - next will come the validate of the deployed jar
---
 .../clojure-package/scripts/setup_deploy_env.sh    | 28 +++++++
 .../clojure-package/src/dev/package_release.clj    | 91 ++++++----------------
 2 files changed, 50 insertions(+), 69 deletions(-)

diff --git a/contrib/clojure-package/scripts/setup_deploy_env.sh b/contrib/clojure-package/scripts/setup_deploy_env.sh
new file mode 100755
index 0000000..ab3ae89
--- /dev/null
+++ b/contrib/clojure-package/scripts/setup_deploy_env.sh
@@ -0,0 +1,28 @@
+#!/bin/bash
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# Run this from the main Clojure project directory with 2 arguments
+# old-version and new-version
+# Ex: scripts/update_version 1.6.0-SNAPSHOT 1.6.0-SNAPSHOT
+
+set -evx
+echo "Setting up env for deploy"
+export GPG_TTY=$(tty)
+echo "Done!"
+
diff --git a/contrib/clojure-package/src/dev/package_release.clj b/contrib/clojure-package/src/dev/package_release.clj
index cc3c946..541fe6d 100644
--- a/contrib/clojure-package/src/dev/package_release.clj
+++ b/contrib/clojure-package/src/dev/package_release.clj
@@ -58,7 +58,7 @@
 (defn run-commands
   "Run shell commands and report exit and out"
   ([commands text]
-   (commands text nil))
+   (run-commands commands text nil))
   ([commands text dir]
    (do
      (println "=====================  " text  "  =====================")
@@ -76,14 +76,6 @@
          (flush))
        (zero? exit)))))
 
-(defn reset-project-files
-  "Resets the projects files back to the original saved version"
-  []
-  (do
-    (sh "cp" "project.clj" "new-project-clj")
-    (sh "cp" "project.clj.bak" "project.clj")
-    (sh "cp" "examples/imclassification/project.clj.bak" "examples/imclassification/project.clj")))
-
 (defn run-tests-and-install
   "With the project file in place, use lein to
   dowload deps, run tests and then install the generated
@@ -145,80 +137,41 @@
                     "Running Image Classification Example"
                     "examples/imclassification"))))
 
+(defn print-deploy-instructions []
+  (do
+    (println "**************************")
+    (println "*****READY FOR DEPLOY*****")
+    (println "**************************")
+    (println "Please validate that logs are all correct and the jar looks good.")
+    (print "Then run the following command to push the jar to apache staging:")
+    (println "   lein deploy :staging    ")
+    (flush)))
 
 (defn run-build [args]
   (let [[build-type release-number apache-gpg-key] args
         release-args {:build-type (keyword build-type)
                       :release-number release-number
                       :apache-gpg-key apache-gpg-key}]
-    
+
     (if (s/valid? ::release-args release-args)
-      (try
-        (do
-          (test-installed-jar build-type release-number)
-          (System/exit 0)
-          )
-        #_(do
-            (make-new-project-file {:build-type :osx-cpu
-                                    :release-number "1.5.1"
-                                    :apache-gpg-key "cmeier@apache.org"} )
-            (run-tests-and-install)
-            (System/exit 0)
-            )
-        (finally (reset-project-files)))
+      (do
+        (make-new-project-file {:build-type :osx-cpu
+                                :release-number "1.5.1"
+                                :apache-gpg-key "cmeier@apache.org"} )
+        (run-tests-and-install)
+        (test-installed-jar build-type release-number)
+        (run-commands ["scripts/setup_deploy_env.sh"] "Setting up display for deploy")
+        (print-deploy-instructions)
+        (System/exit 0))
       (do
         (println "Error with Args" release-args)
         (s/explain ::release-args release-args))
       )))
 
 (defn -main [& args]
-  (run-build args)
-)
-
+  (run-build args))
 
 (comment
+ (run-commands ["./scripts/setup_deploy_env.sh"] "Setting up display for deploy")
 
-
-
-  (let [build-type "osx-cpu"
-        release-number "1.5.1"
-        project-data (read-string (slurp "./examples/imclassification/project.clj"))
-        project-header (into [] (take 3 project-data))
-        project-rest-map (->> project-data
-                              (drop 3)
-                              (apply hash-map))
-        new-dependencies (->> (:dependencies project-rest-map)
-                              (remove #(string/includes? % "org.apache.mxnet"))
-                              (into [[(symbol (str "org.apache.mxnet.contrib.clojure/clojure-mxnet-" build-type)) release-number]]))
-        new-project-rest-map     (-> project-rest-map
-                                     (assoc :dependencies new-dependencies))]
-    new-project-rest-map
-    (do
-      (as-> (into [] new-project-rest-map) p
-        (into project-header (mapcat identity p))
-        (apply list p)
-        #_(with-out-str (clojure.pprint/pprint p))
-        #_(str dev.generator/license p)
-        #_(spit "./examples/imclassification/new-project.clj" p))
-      #_(run-commands ["lein" "run"]
-                    "Running Image Classification Example"
-                    "examples/imclassification")))
-
-  (run-build ["osx-cpu" "1.5.1" "cmeier@apache.org"])
-  
-  (let [m2-path (str (System/getProperty "user.home")
-                 "/.m2/repository/org/apache/mxnet/contrib/clojure/clojure-mxnet")
-        files-to-be-cleared (:out (sh "ls" m2-path))]
-    files-to-be-cleared)
-
-  (sh "cd" "examples")
-  (sh "lein" "run" :dir "examples/imclassification")
-  (sh "pwd")
-
-  (sh "ls" "~")
-
-
-
-"[[org.apache.mxnet.contrib.clojure/clojure-mxnet-osx-cpu \"1.5.1\"]]"
-  
   )


[incubator-mxnet] 04/05: make next steps more clear

Posted by cm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

cmeier pushed a commit to branch clojure-release-script
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git

commit 32c06feb26d69576a7a4dc923ad67c710aa7db2c
Author: gigasquid <cm...@gigasquidsoftware.com>
AuthorDate: Sat Oct 26 08:06:57 2019 -0400

    make next steps more clear
---
 contrib/clojure-package/src/dev/package_release.clj | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/clojure-package/src/dev/package_release.clj b/contrib/clojure-package/src/dev/package_release.clj
index 541fe6d..433f0f0 100644
--- a/contrib/clojure-package/src/dev/package_release.clj
+++ b/contrib/clojure-package/src/dev/package_release.clj
@@ -145,6 +145,7 @@
     (println "Please validate that logs are all correct and the jar looks good.")
     (print "Then run the following command to push the jar to apache staging:")
     (println "   lein deploy :staging    ")
+    (println "^^^^^^^^^^^^^^^^^^^^^^^^^^^^   \n\n\n\n")
     (flush)))
 
 (defn run-build [args]