Browse Source

Make branch shield clickable

rfm69
Maxim Prokhorov 6 years ago
parent
commit
4b135ed65b
2 changed files with 5 additions and 2 deletions
  1. +1
    -1
      README.md
  2. +4
    -1
      pre-commit

+ 1
- 1
README.md View File

@ -4,7 +4,7 @@ ESPurna ("spark" in Catalan) is a custom firmware for ESP8285/ESP8266 based smar
It uses the Arduino Core for ESP8266 framework and a number of 3rd party libraries. It uses the Arduino Core for ESP8266 framework and a number of 3rd party libraries.
[![version](https://img.shields.io/badge/version-1.12.6a-brightgreen.svg)](CHANGELOG.md) [![version](https://img.shields.io/badge/version-1.12.6a-brightgreen.svg)](CHANGELOG.md)
![branch](https://img.shields.io/badge/branch-dev-orange.svg)
[![branch](https://img.shields.io/badge/branch-dev-orange.svg)](https://github.com/xoseperez/espurna/tree/dev/)
[![travis](https://travis-ci.org/xoseperez/espurna.svg?branch=dev)](https://travis-ci.org/xoseperez/espurna) [![travis](https://travis-ci.org/xoseperez/espurna.svg?branch=dev)](https://travis-ci.org/xoseperez/espurna)
[![codacy](https://img.shields.io/codacy/grade/c9496e25cf07434cba786b462cb15f49/dev.svg)](https://www.codacy.com/app/xoseperez/espurna/dashboard) [![codacy](https://img.shields.io/codacy/grade/c9496e25cf07434cba786b462cb15f49/dev.svg)](https://www.codacy.com/app/xoseperez/espurna/dashboard)
[![license](https://img.shields.io/github/license/xoseperez/espurna.svg)](LICENSE) [![license](https://img.shields.io/github/license/xoseperez/espurna.svg)](LICENSE)


+ 4
- 1
pre-commit View File

@ -41,7 +41,10 @@ version = "[![version](https://img.shields.io/badge/version-{VERSION}-brightgree
VERSION = VERSION VERSION = VERSION
) )
branch = "![branch](https://img.shields.io/badge/branch-{BRANCH}-orange.svg)\n".format(
branch = "[![branch](https://img.shields.io/badge/branch-{BRANCH}-orange.svg)] "
"(https://github.com/{USER}/{REPO}/tree/{BRANCH}/)\n".format(
USER = USER,
REPO = REPO,
BRANCH = BRANCH BRANCH = BRANCH
) )


Loading…
Cancel
Save