Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,28 @@ jobs:
- run: lein check
- run: lein test

publish:
<<: *defaults
steps:
- checkout
- run: lein deps
- run: lein deploy

workflows:
version: 2
build_and_test:
test_and_publish:
jobs:
- clj-kondo
- docs
- test
- publish:
context: clojars-publish
requires:
- clj-kondo
- docs
- test
filters:
tags:
only: /.*/
branches:
ignore: /.*/
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Version NEXT
Version 0.10.0 (March 22, 2024)
================================

* [#25](https://github.com/circleci/analytics-clj/pull/25): Update CODEOWNERS with more relevant team
Expand Down
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ For full documentation on the Segment.io 2.x Java client, see [analytics-java](h

## Installation

`[circleci/analytics-clj "0.8.2"]`
`[circleci/analytics-clj "<VERSION>"]`

To find the most recent published version, see https://clojars.org/circleci/analytics-clj

## Usage

Expand Down Expand Up @@ -102,6 +104,16 @@ We provided a top level `enqueue` function to allow you to do the following:
(.properties {"company" "Acme Inc."})))
```


## Releasing

New git tags are automatically published to [clojars](https://clojars.org/circleci/bond).

The following should be updated on the main/master branch before tagging:

- `project.clj` - version
- `CHANGELOG.md` - summary of changes

## License

Copyright © 2019 CircleCI
Expand Down
13 changes: 11 additions & 2 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(defproject circleci/analytics-clj "0.8.2"
(defproject circleci/analytics-clj "0.10.0"
:description "Idiomatic Clojure wrapper for the Segment.io 2.x Java client"
:url "https://github.com/circleci/analytics-clj"
:license {:name "Eclipse Public License"
Expand All @@ -9,4 +9,13 @@
:profiles {:dev {:dependencies [[bond "0.2.6"]]}}
:plugins [[lein-codox "0.10.8"]]
:codox {:output-path "docs"
:namespaces [circleci.analytics-clj.core]})
:namespaces [circleci.analytics-clj.core]}

:repositories [["releases" {:url "https://clojars.org/repo"
:username :env/clojars_username
:password :env/clojars_token
:sign-releases false}]
["snapshots" {:url "https://clojars.org/repo"
:username :env/clojars_username
:password :env/clojars_token
:sign-releases false}]])