From 4004492d1a61ff7ace3084438c92b06cefa06a66 Mon Sep 17 00:00:00 2001 From: Peter Becich Date: Sun, 9 Feb 2025 00:30:33 -0800 Subject: [PATCH 1/2] replace NPM badge pointing to `spago@latest` with `spago@next` Uses: https://shields.io/badges/npm-version-with-dist-tag --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 38b21275f..0869368f8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # spago -[![npm](https://img.shields.io/npm/v/spago.svg)][spago-npm] +![NPM Version (with dist tag)](https://img.shields.io/npm/v/spago/next) [![Latest release](https://img.shields.io/github/v/release/purescript/spago.svg)](https://github.com/purescript/spago/releases) [![build](https://github.com/purescript/spago/actions/workflows/build.yml/badge.svg)](https://github.com/purescript/spago/actions/workflows/build.yml) [![nix-flake](https://github.com/purescript/spago/actions/workflows/nix-flake.yml/badge.svg)](https://github.com/purescript/spago/actions/workflows/nix-flake.yml) From 2f7922d84f5d750029563404da35a9a92de1f9d8 Mon Sep 17 00:00:00 2001 From: Peter Becich Date: Sun, 9 Feb 2025 00:12:57 -0800 Subject: [PATCH 2/2] replace version badge pointing to spago-legacy 0.21 New version badge points to version specified in https://raw.githubusercontent.com/purescript/spago/refs/heads/master/spago.yaml at path `package.publish.version` Badge configured here: https://shields.io/badges/dynamic-yaml-badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0869368f8..fe22309ba 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # spago ![NPM Version (with dist tag)](https://img.shields.io/npm/v/spago/next) -[![Latest release](https://img.shields.io/github/v/release/purescript/spago.svg)](https://github.com/purescript/spago/releases) +![Latest release](https://img.shields.io/badge/dynamic/yaml?url=https%3A%2F%2Fraw.githubusercontent.com%2Fpurescript%2Fspago%2Frefs%2Fheads%2Fmaster%2Fspago.yaml&query=package.publish.version&prefix=v&label=release) [![build](https://github.com/purescript/spago/actions/workflows/build.yml/badge.svg)](https://github.com/purescript/spago/actions/workflows/build.yml) [![nix-flake](https://github.com/purescript/spago/actions/workflows/nix-flake.yml/badge.svg)](https://github.com/purescript/spago/actions/workflows/nix-flake.yml) [![Maintainer: f-f](https://img.shields.io/badge/maintainer-f%2d-f-teal.svg)](http://github.com/f-f)