proved two artefacts

This commit is contained in:
jem 2021-06-18 16:52:59 +02:00
parent f62baf0cd0
commit 80fe4b799d
4 changed files with 33 additions and 2 deletions

View file

@ -45,3 +45,12 @@ upload-clj-prerelease:
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG == null'
script:
- lein deploy clojars
upload-cljs-prerelease:
<<: *clj
stage: upload
rules:
- if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG == null'
script:
- mv project.clj project-clj.clj && mv project-cljs.clj project.clj
- lein deploy clojars

View file

@ -1,5 +1,5 @@
{
"name": "c4k-common",
"name": "c4k-common-cljs",
"description": "Contains predicates and tools for c4k",
"author": "meissa GmbH",
"version": "0.1.0-SNAPSHOT",

22
project-cljs.clj Normal file
View file

@ -0,0 +1,22 @@
(defproject org.domaindrivenarchitecture/c4k-common-cljs "0.1.0-SNAPSHOT"
:description "Contains predicates and tools for c4k"
:url "https://domaindrivenarchitecture.org"
:license {:name "Apache License, Version 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0.html"}
:dependencies [[org.clojure/clojure "1.10.3" :scope "provided"]
[aero "1.1.6"]
[orchestra "2021.01.01-1"]
[expound "0.8.9"]]
:source-paths ["src/main/cljc"
"src/main/cls"]
:resource-paths ["src/main/resources"]
:repositories [["snapshots" :clojars]
["releases" :clojars]]
:deploy-repositories [["snapshots" :clojars]
["releases" :clojars]]
:release-tasks [["vcs" "assert-committed"]
["change" "version" "leiningen.release/bump-version" "release"]
["vcs" "commit"]
["vcs" "tag"]
["deploy"]
["change" "version" "leiningen.release/bump-version"]])

View file

@ -1,4 +1,4 @@
(defproject org.domaindrivenarchitecture/c4k-common "0.1.0-SNAPSHOT"
(defproject org.domaindrivenarchitecture/c4k-common-clj "0.1.0-SNAPSHOT"
:description "Contains predicates and tools for c4k"
:url "https://domaindrivenarchitecture.org"
:license {:name "Apache License, Version 2.0"