diff --git a/.github/workflows/publish-latest.yaml b/.github/workflows/publish-latest.yaml index b9df8e2..2632c82 100644 --- a/.github/workflows/publish-latest.yaml +++ b/.github/workflows/publish-latest.yaml @@ -25,6 +25,8 @@ jobs: PACKAGE_NAME="roman" elif [[ $TAG_NAME =~ ^aegean\/v.* ]]; then PACKAGE_NAME="aegean" + elif [[ $TAG_NAME =~ ^thai\/v.* ]]; then + PACKAGE_NAME="thai" else echo "❌ tag name: $TAG_NAME doesn't point to any publishable package" exit 1 diff --git a/.github/workflows/publish-next.yaml b/.github/workflows/publish-next.yaml index fd2cbf1..105ee4e 100644 --- a/.github/workflows/publish-next.yaml +++ b/.github/workflows/publish-next.yaml @@ -25,6 +25,8 @@ jobs: PACKAGE_NAME="roman" elif [[ $TAG_NAME =~ ^aegean\/v.* ]]; then PACKAGE_NAME="aegean" + elif [[ $TAG_NAME =~ ^thai\/v.* ]]; then + PACKAGE_NAME="thai" else echo "❌ tag name: $TAG_NAME doesn't point to any publishable package" exit 1 diff --git a/packages/thai/CHANGELOG.md b/packages/thai/CHANGELOG.md index b6c0671..3031623 100644 --- a/packages/thai/CHANGELOG.md +++ b/packages/thai/CHANGELOG.md @@ -1,6 +1,10 @@ # Thai Changelog +## [0.0.2] 2024-05-09 +### Fixed +- fix github pipeline action file to publish + ## [0.0.1] 2024-05-09 ### Added - Initial project covert number into Thai numerals diff --git a/packages/thai/README.md b/packages/thai/README.md index 591eb64..c5d4e0b 100644 --- a/packages/thai/README.md +++ b/packages/thai/README.md @@ -1,9 +1,9 @@ # @numerals/thai -[![Version](https://img.shields.io/badge/version-0.0.1-blue.svg)](https://github.com/amerharb/numerals/tree/thai/version/0.0.1) +[![Version](https://img.shields.io/badge/version-0.0.2-blue.svg)](https://github.com/amerharb/numerals/tree/thai/version/0.0.2) [![License: GPLv3](https://img.shields.io/badge/License-ISC-blue.svg)](https://opensource.org/licenses/ISC) -![Coverage](https://raw.githubusercontent.com/amerharb/numerals/thai/version/0.0.1/packages/thai/badges/coverage.svg) -![Github workflow](https://github.com/amerharb/numerals/actions/workflows/lint-test.yaml/badge.svg?branch=thai/version/0.0.1) +![Coverage](https://raw.githubusercontent.com/amerharb/numerals/thai/version/0.0.2/packages/thai/badges/coverage.svg) +![Github workflow](https://github.com/amerharb/numerals/actions/workflows/lint-test.yaml/badge.svg?branch=thai/version/0.0.2) **@numerals/thai** is a package for converting number into Thai numeral. diff --git a/packages/thai/package.json b/packages/thai/package.json index fbc30bb..c2cb532 100644 --- a/packages/thai/package.json +++ b/packages/thai/package.json @@ -1,6 +1,6 @@ { "name": "@numerals/thai", - "version": "0.0.1", + "version": "0.0.2", "main": "dist/src/index.js", "types": "dist/src/index.d.ts", "files": [