Skip to content

Commit

Permalink
fixup! fixup! add another version-fn (matching blockstorage)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenet committed Jul 18, 2024
1 parent feec49e commit 4bea491
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion doc/target/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,30 @@ Perform a release of the project. This is merely a [task](../task.md) run
for the `:release/single` task in standalone projects, and for the `:release/modules`
task in multi-module projects.

### Usage
### Usage release+tag task

This is a simple release task that will release the artifact and not commit the
version file (if any provided), and then git tag the release simply. That can be
used with version-fn to create releases based on git-revs-count or timestamp
schemes (see: `exoscale.tools.project.api.version/git-count-revs` &
`exoscale.tools.project.api.version/epoch`).

```bash
clojure -T:project release+tag
```

The default release+tag task is:

``` clojure
[{:run :exoscale.tools.project.standalone/deploy}
{:run :exoscale.tools.project.standalone/git-tag-version}
{:run :exoscale.tools.project.standalone/git-push}]
```


### Usage release task

This task will trigger the update of the VERSION file provided and commit it, then trigger a release

```bash
clojure -T:project release
Expand Down Expand Up @@ -33,4 +56,5 @@ The default release task configuration is:
{:run :exoscale.tools.project.standalone/version-bump-and-snapshot}
{:run :exoscale.tools.project.standalone/git-commit-version}
{:run :exoscale.tools.project.standalone/git-push}]

```

0 comments on commit 4bea491

Please sign in to comment.