-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
60 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters