Skip to content

Commit 3242626

Browse files
authored
Add the Swift Package Index badges to README.md (#9)
* Add the Swift Package Index badges to `README.md` * Update `CHAGELOG.md`
1 parent 63660f6 commit 3242626

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file.
44
## [Unreleased]
55

66
## Added
7+
- Add the Swift Package Index badges to `README.md`
8+
- Added in Pull Request [#9](https://github.com/space-code/package-template/pull/9).
79
- Update the Ruby version from 2.7 to 3.1.4
810
- Added in Pull Request [#8](https://github.com/space-code/package-template/pull/8).
911
- Implement typo checking

{{ cookiecutter.name | lower }}/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
<p align="center">
44
<a href="https://github.com/space-code/{{ cookiecutter.name | lower }}/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/github/license/space-code/{{ cookiecutter.name | lower }}?style=flat"></a>
5-
<a href="https://developer.apple.com/swift"><img alt="{{ cookiecutter.swift_version }}" src="https://img.shields.io/badge/language-Swift{{ cookiecutter.swift_version }}-orange.svg"/></a>
5+
<a href="https://swiftpackageindex.com/space-code/{{ cookiecutter.name | lower }}"><img alt="Swift Compatibility" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fspace-code%2F{{ cookiecutter.name | lower }}%2Fbadge%3Ftype%3Dswift-versions"/></a>
6+
<a href="https://swiftpackageindex.com/space-code/{{ cookiecutter.name | lower }}"><img alt="Platform Compatibility" src="https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fspace-code%2F{{ cookiecutter.name | lower }}%2Fbadge%3Ftype%3Dplatforms"/></a>
67
<a href="https://github.com/space-code/{{ cookiecutter.name | lower }}"><img alt="CI" src="https://github.com/space-code/{{ cookiecutter.name }}/actions/workflows/ci.yml/badge.svg?branch=main"></a>
78
<a href="https://github.com/apple/swift-package-manager" alt="{{ cookiecutter.name | lower }} on Swift Package Manager" title="{{ cookiecutter.name | lower }} on Swift Package Manager"><img src="https://img.shields.io/badge/Swift%20Package%20Manager-compatible-brightgreen.svg" /></a>
89
</p>

0 commit comments

Comments
 (0)