Skip to content

Commit

Permalink
Enhance JReleaser configuration (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosthe19916 authored Apr 12, 2022
1 parent 0048103 commit dfec15e
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/snapshots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
name: Test real padron reducido
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.4.0
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: 11
Expand Down
21 changes: 21 additions & 0 deletions jreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,24 @@ announce:
active: RELEASE
channel: '#notifications'
message: '🚀 {{projectNameCapitalized}} {{projectVersion}} has been released! {{releaseNotesUrl}}'
mail:
active: RELEASE
mimeType: TEXT
port: 587
auth: true
host: smtp.gmail.com
username: [email protected]
from: [email protected]
to: [email protected]
subject: '{{projectNameCapitalized}} {{projectVersion}} released!'
message: |
Acabamos de lanzar {{projectNameCapitalized}} {{projectVersion}}!
{{changelog}}
article:
active: RELEASE
repository:
owner: project-openubl
name: website
files:
- path: 'release.md'
transform: 'blog/{{#f_now}}YYYY-MM-dd{{/f_now}}/{{projectName}}-{{#f_dash}}{{projectVersion}}{{/f_dash}}-released.md'
13 changes: 13 additions & 0 deletions src/jreleaser/templates/article/release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: {{projectNameCapitalized}} {{projectEffectiveVersion}} released!
description: {{projectEffectiveVersion}} is the latest release.
date: {{#f_now}}YYYY-MM-dd{{/f_now}}
authors: [carlosthe19916]
tags: [searchpe, release]
---

Acabamos de lanzar {{projectNameCapitalized}} {{projectEffectiveVersion}} con un conjunto de nuevas funcionalidades, corrección de errores, y mejor documentación.

## Full changelog

Puedes ver {{releaseNotesUrl}}[the full changelog of {{projectEffectiveVersion}} on GitHub].

0 comments on commit dfec15e

Please sign in to comment.