Skip to content

Commit

Permalink
Deploy toucan2-toucan1
Browse files Browse the repository at this point in the history
  • Loading branch information
camsaul committed Aug 23, 2022
1 parent 07068b5 commit ea9ca4d
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,17 @@ jobs:
key: deploy
- name: Build Toucan 2
run: clojure -T:build build
- name: Build toucan2-toucan1
run: clojure -T:build build
working-directory: toucan1
- name: Deploy Toucan 2
run: clojure -T:build deploy
env:
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }}
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }}
- name: Deploy toucan2-toucan1
run: clojure -T:build deploy
working-directory: toucan1
env:
CLOJARS_USERNAME: ${{ secrets.CLOJARS_USERNAME }}
CLOJARS_PASSWORD: ${{ secrets.CLOJARS_PASSWORD }}
1 change: 1 addition & 0 deletions VERSION.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.10.0-alpha
5 changes: 2 additions & 3 deletions build.clj
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
(ns build
(:require [clojure.tools.build.api :as b]
(:require [clojure.string :as str]
[org.corfield.build :as bb]))

(def lib 'io.github.camsaul/toucan2)

;;; if you want a version of MAJOR.MINOR.COMMITS:
(def version (format "0.9.%s" (b/git-count-revs nil)))
(def version (str/trim (slurp "VERSION.txt")))

(def options
{:lib lib, :version version})
Expand Down
5 changes: 2 additions & 3 deletions toucan1/build.clj
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
(ns build
(:require [clojure.tools.build.api :as b]
(:require [clojure.string :as str]
[org.corfield.build :as bb]))

(def lib 'io.github.camsaul/toucan2-toucan1)

;;; if you want a version of MAJOR.MINOR.COMMITS:
(def version (format "0.9.%s" (b/git-count-revs nil)))
(def version (str/trim (slurp "../VERSION.txt")))

(def options
{:lib lib, :version version})
Expand Down

0 comments on commit ea9ca4d

Please sign in to comment.