# deps-version **Repository Path**: mirrors_exoscale/deps-version ## Basic Information - **Project Name**: deps-version - **Description**: Simple version management for tools.deps - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-03-30 - **Last Updated**: 2026-05-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Simplistic version manipulation tool (tools.deps) for clojure * reads version String from file (if exists) into a map * updates part(s) of the version map * writes file back and returns new version Parsed data output map : `#:exoscale.deps-version{:major 1 :minor 2 :patch 3 :suffix "SNAPSHOT" :raw "1.2.3-SNAPSHOT"}` ## Usage Add to your deps ```clj {:deps {org.clojure/clojure {:mvn/version "1.11.0"}} :paths ["src"] :aliases {:deps-version {:deps {exoscale/deps-version {:git/sha "..." :git/url "git@github.com:exoscale/deps-version.git"}} :ns-default exoscale.deps-version}}} ``` ```terminal clj -Ttools install exoscale/deps-version '{:git/sha "" :git/url "git@github.com:exoscale/deps-version.git"}' :as version ``` Then you can just use it by running: ```shell clj -Tversion update-version '{:key :patch}' clj -Tversion update-version '{:key :major}' clj -Tversion update-version '{:key :minor :op :dec}' clj -Tversion update-version '{:key :patch :suffix "SNAPSHOT"}' clj -Tversion update-version '{:suffix nil}' ``` or simply as a library