diff --git a/.clj-kondo/config.edn b/.clj-kondo/config.edn index 20f35a6..c208799 100644 --- a/.clj-kondo/config.edn +++ b/.clj-kondo/config.edn @@ -14,6 +14,7 @@ exoscale.tools.project.standalone/git-push exoscale.tools.project.standalone/git-tag-version exoscale.tools.project.standalone/release + exoscale.tools.project.standalone/release-git-count-revs exoscale.tools.project.standalone/version-bump-and-snapshot exoscale.tools.project.standalone/version-remove-snapshot exoscale.tools.project.template/data-fn diff --git a/src/exoscale/tools/project/api/tasks.clj b/src/exoscale/tools/project/api/tasks.clj index dc0a25a..d865ee0 100644 --- a/src/exoscale/tools/project/api/tasks.clj +++ b/src/exoscale/tools/project/api/tasks.clj @@ -98,12 +98,18 @@ {:run :exoscale.tools.project.standalone/git-commit-version} {:run :exoscale.tools.project.standalone/git-push}] - :release/git-count-revs + :release-git-count-revs/single [{:run :exoscale.tools.project.standalone/version-git-count-revs} {:run :exoscale.tools.project.standalone/deploy} {:run :exoscale.tools.project.standalone/git-tag-version} {:run :exoscale.tools.project.standalone/git-push}] + :release-git-count-revs/modules + [{:run :exoscale.tools.project.standalone/version-git-count-revs} + {:ref :deploy} + {:run :exoscale.tools.project.standalone/git-tag-version} + {:run :exoscale.tools.project.standalone/git-push}] + :prep-self [{:run :exoscale.tools.project.standalone/prep-self :for-all [:exoscale.project/modules] :when :deps/prep-lib}]}) diff --git a/src/exoscale/tools/project/standalone.clj b/src/exoscale/tools/project/standalone.clj index bf13479..3d5f069 100644 --- a/src/exoscale/tools/project/standalone.clj +++ b/src/exoscale/tools/project/standalone.clj @@ -142,7 +142,7 @@ [opts] (-> opts into-opts - (assoc :id :release/git-count-revs) + (assoc :id :release-git-count-revs/single) (tasks/task opts))) (def ^{:arglists '([opts])} version-bump-and-snapshot