Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance JReleaser configuration #223

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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].