Skip to content

Commit

Permalink
Improvements for release process (#96)
Browse files Browse the repository at this point in the history
* Improvements for release process

### What's done:
* Added RELEASING.md
* Modified pull_request_template.md
  • Loading branch information
petertrr authored Jul 27, 2020
1 parent 7d913ed commit ff9ed28
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
## Which rule and warnings did you add?

This pull request closes <!-- insert related issue number -->
<!-- Briefly describe rule and warnings -->

## Actions checklist
* [ ] Implemented Rule, added Warnings
* [ ] Added tests on checks
* [ ] Added tests on fixers
* [ ] Updated rules-config.json
* [ ] Updated Readme
* [ ] Updated available-rules.md

## Fixme

Expand Down
13 changes: 13 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# How to release a new version of diKTat

* You should have permissions to push to the main repo
* Simply create a new git tag with format `v*` and push it. Github workflow will perform release automatically.

For example:
```bash
$ git tag v1.0.0
$ git push origin --tags
```

After the release workflow has started, version number is determined from tag. Binaries are uploaded to maven repo and
a new github release is created with fat jar.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,14 @@
</snapshotRepository>
</distributionManagement>
<repositories>
<!-- this is needed to use ktlint 0.37.1-fork -->
<repository>
<id>artipie</id>
<url>https://central.artipie.com/akuleshov7/diktat</url>
</repository>
</repositories>
<pluginRepositories>
<!-- this is needed to use forked ktlint and diktat inside antrun plugin -->
<pluginRepository>
<id>artipie</id>
<url>https://central.artipie.com/akuleshov7/diktat</url>
Expand Down

0 comments on commit ff9ed28

Please sign in to comment.