-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Another fix to the build alias, use most recent version of build-clj
- Loading branch information
1 parent
f3eafdb
commit 673a2e6
Showing
2 changed files
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,11 +3,13 @@ | |
[org.corfield.build :as bb] | ||
[clojure.string :as str])) | ||
|
||
(def scm-url "[email protected]:kiranshila/cybermonday.git") | ||
|
||
(def lib 'com.kiranshila/cybermonday) | ||
(def version (format "0.3.%s" (b/git-count-revs nil))) | ||
(def version (format "0.4.%s" (b/git-count-revs nil))) | ||
|
||
(defn sha | ||
[{:keys [dir path] :or {dir "."} :as params}] | ||
[{:keys [dir path] :or {dir "."}}] | ||
(-> {:command-args (cond-> ["git" "rev-parse" "HEAD"] | ||
path (conj "--" path)) | ||
:dir (.getPath (b/resolve-path dir)) | ||
|
@@ -22,8 +24,10 @@ | |
(-> opts | ||
(assoc :lib lib | ||
:version version | ||
:tag (sha nil) | ||
:scm-url "https://github.com/kiranshila/cybermonday") | ||
:scm {:tag (sha nil) | ||
:connection (str "scm:git:" scm-url) | ||
:developerConnection (str "scm:git:" scm-url) | ||
:url scm-url}) | ||
(bb/clean) | ||
(bb/jar))) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters