Skip to content

Commit 5287be3

Browse files
committed
chore: readme workflows table now show latest version downloads count
1 parent 954fba5 commit 5287be3

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,20 @@
2323

2424
<!-- TABLE_START -->
2525

26-
| Workflow | Description | Latest Release | Download Link | Downloads |
27-
| ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
28-
| [Advance Fs Search](./projects/packages/advance-fs-search/README.md) | Search files in the file system & open them with a variety of applications | [v2.3.0](https://github.com/avivbens/alfredo/releases/tag/release/advance-fs-search/2.3.0) | [Download Workflow](https://github.com/avivbens/alfredo/releases/download/release/advance-fs-search/2.3.0/advance-fs-search_2.3.0.alfredworkflow) | [![Total Downloads](https://img.shields.io/github/downloads/avivbens/alfredo/total?label=Total%20Downloads&color=blue)](https://github.com/avivbens/alfredo/releases) |
29-
| [Ai Calendar Assistant](./projects/packages/ai-calendar-assistant/README.md) | Effortlessly create calendar events using natural language with AI Calendar Assistant ✨ | [v1.2.1](https://github.com/avivbens/alfredo/releases/tag/release/ai-calendar-assistant/1.2.1) | [Download Workflow](https://github.com/avivbens/alfredo/releases/download/release/ai-calendar-assistant/1.2.1/ai-calendar-assistant_1.2.1.alfredworkflow) | [![Total Downloads](https://img.shields.io/github/downloads/avivbens/alfredo/total?label=Total%20Downloads&color=blue)](https://github.com/avivbens/alfredo/releases) |
30-
| [Kill Process](./projects/packages/kill-process/README.md) | Efficiently search and kill processes on your Mac ⚔️ | [v2.2.0](https://github.com/avivbens/alfredo/releases/tag/release/kill-process/2.2.0) | [Download Workflow](https://github.com/avivbens/alfredo/releases/download/release/kill-process/2.2.0/kill-process_2.2.0.alfredworkflow) | [![Total Downloads](https://img.shields.io/github/downloads/avivbens/alfredo/total?label=Total%20Downloads&color=blue)](https://github.com/avivbens/alfredo/releases) |
31-
| [Search Bookmark](./projects/packages/search-bookmark/README.md) | Search across your bookmarks from all your Chrome profiles and open them in a new tab | [v3.2.0](https://github.com/avivbens/alfredo/releases/tag/release/search-bookmark/3.2.0) | [Download Workflow](https://github.com/avivbens/alfredo/releases/download/release/search-bookmark/3.2.0/search-bookmark_3.2.0.alfredworkflow) | [![Total Downloads](https://img.shields.io/github/downloads/avivbens/alfredo/total?label=Total%20Downloads&color=blue)](https://github.com/avivbens/alfredo/releases) |
32-
| [Table Plus Db](./projects/packages/table-plus-db/README.md) | Launch your saved TablePlus connections | [v1.3.0](https://github.com/avivbens/alfredo/releases/tag/release/table-plus-db/1.3.0) | [Download Workflow](https://github.com/avivbens/alfredo/releases/download/release/table-plus-db/1.3.0/table-plus-db_1.3.0.alfredworkflow) | [![Total Downloads](https://img.shields.io/github/downloads/avivbens/alfredo/total?label=Total%20Downloads&color=blue)](https://github.com/avivbens/alfredo/releases) |
33-
| [Text Transformer](./projects/packages/text-transformer/README.md) | Transform your text with Alfred—translate, check spelling, correct grammar, explain, extract action items, and much more! | [v5.2.0](https://github.com/avivbens/alfredo/releases/tag/release/text-transformer/5.2.0) | [Download Workflow](https://github.com/avivbens/alfredo/releases/download/release/text-transformer/5.2.0/text-transformer_5.2.0.alfredworkflow) | [![Total Downloads](https://img.shields.io/github/downloads/avivbens/alfredo/total?label=Total%20Downloads&color=blue)](https://github.com/avivbens/alfredo/releases) |
34-
| [Toggle Audio Output](./projects/packages/toggle-audio-output/README.md) | Rapidly change your audio output between your Bluetooth devices and your Mac's speakers | [v1.1.0](https://github.com/avivbens/alfredo/releases/tag/release/toggle-audio-output/1.1.0) | [Download Workflow](https://github.com/avivbens/alfredo/releases/download/release/toggle-audio-output/1.1.0/toggle-audio-output_1.1.0.alfredworkflow) | [![Total Downloads](https://img.shields.io/github/downloads/avivbens/alfredo/total?label=Total%20Downloads&color=blue)](https://github.com/avivbens/alfredo/releases) |
26+
| Workflow | Description | Latest Release | Download Link | Downloads |
27+
| ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
28+
| [Advance Fs Search](./projects/packages/advance-fs-search/README.md) | Search files in the file system & open them with a variety of applications | [v2.3.0](https://github.com/avivbens/alfredo/releases/tag/release/advance-fs-search/2.3.0) | [Download Workflow](https://github.com/avivbens/alfredo/releases/download/release/advance-fs-search/2.3.0/advance-fs-search_2.3.0.alfredworkflow) | [![Total Downloads](https://img.shields.io/github/downloads/avivbens/alfredo/release%2Fadvance-fs-search%2F2.3.0/total?label=Version%20Downloads&color=blue)](https://github.com/avivbens/alfredo/releases) |
29+
| [Ai Calendar Assistant](./projects/packages/ai-calendar-assistant/README.md) | Effortlessly create calendar events using natural language with AI Calendar Assistant ✨ | [v1.2.1](https://github.com/avivbens/alfredo/releases/tag/release/ai-calendar-assistant/1.2.1) | [Download Workflow](https://github.com/avivbens/alfredo/releases/download/release/ai-calendar-assistant/1.2.1/ai-calendar-assistant_1.2.1.alfredworkflow) | [![Total Downloads](https://img.shields.io/github/downloads/avivbens/alfredo/release%2Fai-calendar-assistant%2F1.2.1/total?label=Version%20Downloads&color=blue)](https://github.com/avivbens/alfredo/releases) |
30+
| [Kill Process](./projects/packages/kill-process/README.md) | Efficiently search and kill processes on your Mac ⚔️ | [v2.2.0](https://github.com/avivbens/alfredo/releases/tag/release/kill-process/2.2.0) | [Download Workflow](https://github.com/avivbens/alfredo/releases/download/release/kill-process/2.2.0/kill-process_2.2.0.alfredworkflow) | [![Total Downloads](https://img.shields.io/github/downloads/avivbens/alfredo/release%2Fkill-process%2F2.2.0/total?label=Version%20Downloads&color=blue)](https://github.com/avivbens/alfredo/releases) |
31+
| [Search Bookmark](./projects/packages/search-bookmark/README.md) | Search across your bookmarks from all your Chrome profiles and open them in a new tab | [v3.2.0](https://github.com/avivbens/alfredo/releases/tag/release/search-bookmark/3.2.0) | [Download Workflow](https://github.com/avivbens/alfredo/releases/download/release/search-bookmark/3.2.0/search-bookmark_3.2.0.alfredworkflow) | [![Total Downloads](https://img.shields.io/github/downloads/avivbens/alfredo/release%2Fsearch-bookmark%2F3.2.0/total?label=Version%20Downloads&color=blue)](https://github.com/avivbens/alfredo/releases) |
32+
| [Table Plus Db](./projects/packages/table-plus-db/README.md) | Launch your saved TablePlus connections | [v1.3.0](https://github.com/avivbens/alfredo/releases/tag/release/table-plus-db/1.3.0) | [Download Workflow](https://github.com/avivbens/alfredo/releases/download/release/table-plus-db/1.3.0/table-plus-db_1.3.0.alfredworkflow) | [![Total Downloads](https://img.shields.io/github/downloads/avivbens/alfredo/release%2Ftable-plus-db%2F1.3.0/total?label=Version%20Downloads&color=blue)](https://github.com/avivbens/alfredo/releases) |
33+
| [Text Transformer](./projects/packages/text-transformer/README.md) | Transform your text with Alfred—translate, check spelling, correct grammar, explain, extract action items, and much more! | [v5.2.0](https://github.com/avivbens/alfredo/releases/tag/release/text-transformer/5.2.0) | [Download Workflow](https://github.com/avivbens/alfredo/releases/download/release/text-transformer/5.2.0/text-transformer_5.2.0.alfredworkflow) | [![Total Downloads](https://img.shields.io/github/downloads/avivbens/alfredo/release%2Ftext-transformer%2F5.2.0/total?label=Version%20Downloads&color=blue)](https://github.com/avivbens/alfredo/releases) |
34+
| [Toggle Audio Output](./projects/packages/toggle-audio-output/README.md) | Rapidly change your audio output between your Bluetooth devices and your Mac's speakers | [v1.1.0](https://github.com/avivbens/alfredo/releases/tag/release/toggle-audio-output/1.1.0) | [Download Workflow](https://github.com/avivbens/alfredo/releases/download/release/toggle-audio-output/1.1.0/toggle-audio-output_1.1.0.alfredworkflow) | [![Total Downloads](https://img.shields.io/github/downloads/avivbens/alfredo/release%2Ftoggle-audio-output%2F1.1.0/total?label=Version%20Downloads&color=blue)](https://github.com/avivbens/alfredo/releases) |
3535

3636
<!-- TABLE_END -->
3737

38+
### ![Total Downloads](https://img.shields.io/github/downloads/avivbens/alfredo/total?label=Total%20Downloads&color=blue)
39+
3840
</div>
3941

4042
## 🚀 Overview

scripts/update-readme-file.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ function createReadmeLine(projectName, projectVersion, projectDescription) {
3232

3333
const releaseUrl = `https://github.com/${REPO_OWNER}/${REPO_NAME}/releases/tag/release/${projectName}/${projectVersion}`;
3434
const downloadUrl = `https://github.com/${REPO_OWNER}/${REPO_NAME}/releases/download/release/${projectName}/${projectVersion}/${projectName}_${projectVersion}.alfredworkflow`;
35-
const downloads = `[![Total Downloads](https://img.shields.io/github/downloads/${REPO_OWNER}/${REPO_NAME}/total?label=Total%20Downloads&color=blue)](https://github.com/${REPO_OWNER}/${REPO_NAME}/releases)`;
35+
36+
const tagUrl = `https://img.shields.io/github/downloads/avivbens/alfredo/release%2F${projectName}%2F${projectVersion}/total?label=Version%20Downloads&color=blue`;
37+
const downloads = `[![Total Downloads](${tagUrl})](https://github.com/${REPO_OWNER}/${REPO_NAME}/releases)`;
3638
const toInsert = `| [${projectNameTitleCase}](./projects/packages/${projectName}/README.md) | ${projectDescription} | [v${projectVersion}](${releaseUrl}) | [Download Workflow](${downloadUrl}) | ${downloads} |`;
3739

3840
return toInsert;

0 commit comments

Comments
 (0)