Skip to content

Commit

Permalink
add how to release
Browse files Browse the repository at this point in the history
  • Loading branch information
tttol committed Dec 25, 2024
1 parent 837ce2d commit dc917b1
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 15 deletions.
28 changes: 26 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,31 @@ docker run --name mrls --env GITLAB_PROJECT_ID=xxxx --env GITLAB_ACCESS_TOKEN=xx
```

# Release
Run the following command.
1. Update build.gradle, list.html
```diff
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.5'
id 'io.spring.dependency-management' version '1.1.0'
}

group = 'io.github.tttol'
- version = "1.1.7"
+ version = "1.1.8"
```

```diff
- <div class="appVer">1.1.7</div>
+ <div class="appVer">1.1.8</div>
</main>
</body>
</html>
```

2. Run the following command.
```bash
sh docker/release.sh 1.0.0 # specify app version at arg
```
```

3. Create a tag in GitHub.
https://github.com/tttol/mrls/releases
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = 'io.github.tttol'
version = "1.1.7"
version = "1.1.8"

java {
sourceCompatibility = JavaVersion.VERSION_21
Expand Down
10 changes: 0 additions & 10 deletions src/main/resources/templates/fragment/footer.html

This file was deleted.

3 changes: 1 addition & 2 deletions src/main/resources/templates/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@
</td>
</tr>
</table>
<div class="appVer">1.1.7</div>
<div class="appVer">1.1.8</div>
</main>
<!-- <div th:replace="fragment/footer::footer"></div>-->
</body>
</html>

0 comments on commit dc917b1

Please sign in to comment.