Skip to content

Commit 35d6917

Browse files
Update release to only run on tags.
1 parent 6a5a286 commit 35d6917

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

RELEASING.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# Releasing
22

3-
Releases are handled by [`sbt-ci-release`](https://github.com/olafurpg/sbt-ci-release) and [Github Actions](../.github/workflows/release.yml). Random versions are automatically deployed when changes are merged to main. To create a new semvar'ed version, do the following:
3+
Releases are handled by [`sbt-ci-release`](https://github.com/olafurpg/sbt-ci-release) and [Github Actions](../.github/workflows/release.yml). To release a new version do the following:
44

5-
```bash
6-
git tag -a v0.1.0
7-
# add notes about what changed
8-
git push origin v0.1.0
9-
```
5+
1. Go [here](https://github.com/Iterable/sbt-codeartifact/releases/new)
6+
2. In the `Choose a tag` dropdown, create a new tag with the following format `v[0-9]+.[0-9]+.[0-9]`. For example `v0.0.1` is a valid release number but `0.0.1` and `0.1` are not.
7+
3. Make sure the `Target` branch is set correctly.
8+
4. Select the correct `Previous tag`.
9+
5. Click the `Generate release notes` button.
10+
6. Click the `Publish release` button.
11+
12+
Once this is done it will trigger a github action that will publish this version to maven central.

0 commit comments

Comments
 (0)