Skip to content

Commit

Permalink
Fix git tag value for proper cljdoc discovery (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
abogoyavlensky authored Oct 26, 2023
1 parent e7a9b15 commit 67fbc15
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

*The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)*

## 0.1.3 - 2023-10-26

### Fixed

- Fix cljdoc discovery by git tag.

## 0.1.2 - 2023-10-26

### Added
Expand Down
16 changes: 9 additions & 7 deletions build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,15 @@
(defn build
"Build a jar-file for the lib."
[opts]
(-> opts
(assoc
:lib lib
:version (version (select-keys opts [:snapshot? :release? :bump]))
:src-pom "templates/pom.xml")
(build-clj/clean)
(build-clj/jar)))
(let [new-version (version (select-keys opts [:snapshot? :release? :bump]))]
(-> opts
(assoc
:lib lib
:version new-version
:tag new-version
:src-pom "templates/pom.xml")
(build-clj/clean)
(build-clj/jar))))


(defn install
Expand Down

0 comments on commit 67fbc15

Please sign in to comment.