Skip to content

Commit

Permalink
#389 fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Dec 27, 2023
1 parent 5486442 commit 3602447
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/up.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
name: up
on:
push:
jobs:
up:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: |-
git fetch --tags --force && \
latest=$(git tag --sort=creatordate | tail -1) && \
sed -E -i "s/<version>[^<]+/<version>${latest}/g" README.md
- uses: peter-evans/create-pull-request@v5
with:
commit-message: 'new version in README'
delete-branch: true
title: 'New version in README'
assignees: yegor256
branch: up
base: master
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<img alt="logo" src="http://img.jcabi.com/logo-square.png" width="64px" height="64px" />
<img alt="logo" src="https://www.jcabi.com/logo-square.svg" width="64px" height="64px" />

[![EO principles respected here](https://www.elegantobjects.org/badge.svg)](https://www.elegantobjects.org)
[![Managed by Zerocracy](https://www.0crat.com/badge/C3RUBL5H9.svg)](https://www.0crat.com/p/C3RUBL5H9)
[![DevOps By Rultor.com](http://www.rultor.com/b/jcabi/jcabi-parent)](http://www.rultor.com/p/jcabi/jcabi-parent)
[![We recommend IntelliJ IDEA](https://www.elegantobjects.org/intellij-idea.svg)](https://www.jetbrains.com/idea/)

[![mvn](https://github.com/jcabi/jcabi-parent/actions/workflows/mvn.yml/badge.svg)](https://github.com/jcabi/jcabi-parent/actions/workflows/mvn.yml)
[![PDD status](http://www.0pdd.com/svg?name=jcabi/jcabi-parent)](http://www.0pdd.com/p?name=jcabi/jcabi-parent)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.jcabi/parent/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.jcabi/parent)
[![Hits-of-Code](https://hitsofcode.com/github/jcabi/jcabi-parent)](https://hitsofcode.com/view/github/jcabi/jcabi-parent)
![Lines of code](https://img.shields.io/tokei/lines/github/jcabi/jcabi-parent)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/jcabi/jcabi-parent/blob/master/LICENSE.txt)

More details are here: [parent.jcabi.com](https://parent.jcabi.com/index.html)
Expand All @@ -26,6 +24,7 @@ define our artifact as a parent of your project:
<parent>
<groupId>com.jcabi</groupId>
<artifactId>parent</artifactId>
<version>0.0.0</version>
</parent>
<groupId>your-group-id</groupId>
<artifactId>your-artifact-id</artifactId>
Expand Down

0 comments on commit 3602447

Please sign in to comment.