Skip to content

Commit

Permalink
setting version 1.2-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
smartrics committed Jun 12, 2024
1 parent 19e356e commit c6c5e08
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 8 deletions.
52 changes: 52 additions & 0 deletions HowToRelease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# How to release

Instructions on how to release a new version of this project

## Build locally

```shell
mvn clean package
mvn -DskipITs=false verify
```

## Commit/Push all local changes to remote

```shell
git -am"/commit message/"
git push
```

## Commit/Push new version number

```shell
mvn versions:set
git -am"setting version X.Y"
git push
```

## Check github action build passes

https://github.com/smartrics/nifi-iotics/actions

## Tag code

```shell
git tag -a vX.Y -m"release X.Y"
git push origin tag vX.Y
```

## Create release on github from tag

https://github.com/smartrics/nifi-iotics/releases/new

- choose tag vX.Y
- write comment
- upload from local the nar file

## set new version as snapshot

```shell
mvn versions:set
git -am"setting version X.Z-SNAPSHOT"
git push
```
2 changes: 1 addition & 1 deletion nifi-iotics-hostservice/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>smartrics.iotics.nifi</groupId>
<artifactId>nifi-iotics</artifactId>
<version>1.1</version>
<version>1.2-SNAPSHOT</version>
</parent>

<artifactId>nifi-iotics-hostservice</artifactId>
Expand Down
8 changes: 4 additions & 4 deletions nifi-iotics-nar/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<parent>
<groupId>smartrics.iotics.nifi</groupId>
<artifactId>nifi-iotics</artifactId>
<version>1.1</version>
<version>1.2-SNAPSHOT</version>
</parent>

<artifactId>nifi-iotics-nar</artifactId>
<version>1.1</version>
<version>1.2-SNAPSHOT</version>
<packaging>nar</packaging>
<name>${project.groupId}:${project.artifactId}</name>

Expand All @@ -36,12 +36,12 @@
<dependency>
<groupId>smartrics.iotics.nifi</groupId>
<artifactId>nifi-iotics-processors</artifactId>
<version>1.1</version>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>smartrics.iotics.nifi</groupId>
<artifactId>nifi-iotics-hostservice</artifactId>
<version>1.1</version>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
Expand Down
4 changes: 2 additions & 2 deletions nifi-iotics-processors/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<parent>
<groupId>smartrics.iotics.nifi</groupId>
<artifactId>nifi-iotics</artifactId>
<version>1.1</version>
<version>1.2-SNAPSHOT</version>
</parent>

<artifactId>nifi-iotics-processors</artifactId>
Expand Down Expand Up @@ -99,7 +99,7 @@
<dependency>
<groupId>smartrics.iotics.nifi</groupId>
<artifactId>nifi-iotics-hostservice</artifactId>
<version>1.1</version>
<version>1.2-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>smartrics.iotics</groupId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>smartrics.iotics.nifi</groupId>
<artifactId>nifi-iotics</artifactId>
<version>1.1</version>
<version>1.2-SNAPSHOT</version>
<packaging>pom</packaging>

<name>${project.groupId}:${project.artifactId}</name>
Expand Down

0 comments on commit c6c5e08

Please sign in to comment.