Skip to content

Commit

Permalink
docs: add version shield
Browse files Browse the repository at this point in the history
- show in README
- set new version in release workflow
  • Loading branch information
SimonGolms committed Mar 16, 2022
1 parent 39d7a7d commit a0494a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ module.exports = {
"@semantic-release/exec",
{
verifyReleaseCmd:
'sed -i \'s/version=".*"/version="${nextRelease.version}"/g\' Dockerfile',
"sed -i 's/version=\".*\"/version=\"${nextRelease.version}\"/g' Dockerfile && \
sed -i 's/version-.*-blue/version-${nextRelease.version}-blue/g' README.md",
},
],
[
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# OpenDevStack 4.x - Jenkins Agent Node.js

[![Version](https://img.shields.io/badge/version-1.0.1-blue.svg)](https://github.com/SimonGolms/ods-jenkins-agent-nodejs/releases)
[![License: Apache-2.0](https://img.shields.io/github/license/simongolms/ods-jenkins-agent-nodejs)](https://github.com/simongolms/ods-jenkins-agent-nodejs/blob/master/LICENSE)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/simongolms/ods-jenkins-agent-nodejs/graphs/commit-activity)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-green.svg)](https://conventionalcommits.org)
Expand Down

0 comments on commit a0494a9

Please sign in to comment.