Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! split concerns
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenet committed Jul 18, 2024
1 parent 0b71800 commit 5d3f62c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .clj-kondo/config.edn
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion src/exoscale/tools/project/api/tasks.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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}]})
Expand Down
2 changes: 1 addition & 1 deletion src/exoscale/tools/project/standalone.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5d3f62c

Please # to comment.