diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml deleted file mode 100644 index 27ddba6..0000000 --- a/.github/workflows/release-doctor.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Release Doctor -on: - push: - branches: - - main - workflow_dispatch: - -jobs: - release_doctor: - name: release doctor - runs-on: ubuntu-latest - environment: anthale-environment - if: github.repository == 'anthalehq/anthale-node' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') - - steps: - - uses: actions/checkout@v6 - - - name: Check release environment - run: | - bash ./bin/check-release-environment diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 8579006..579ae9f 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.4.6" + ".": "0.4.7" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 10c556e..fd30831 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Changelog +## 0.4.7 (2026-04-21) + +Full Changelog: [v0.4.6...v0.4.7](https://github.com/anthalehq/anthale-node/compare/v0.4.6...v0.4.7) + +### Chores + +* **ci:** remove release-doctor workflow ([25be9fb](https://github.com/anthalehq/anthale-node/commit/25be9fbf9aea1b0a117764cdad8fbebe31dfa861)) +* **internal:** codegen related update ([be8b3a4](https://github.com/anthalehq/anthale-node/commit/be8b3a440da08b72c41d6178208ebc6b49315d75)) + ## 0.4.6 (2026-04-01) Full Changelog: [v0.4.5...v0.4.6](https://github.com/anthalehq/anthale-node/compare/v0.4.5...v0.4.6) diff --git a/bin/check-release-environment b/bin/check-release-environment deleted file mode 100644 index 6b43775..0000000 --- a/bin/check-release-environment +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env bash - -errors=() - -lenErrors=${#errors[@]} - -if [[ lenErrors -gt 0 ]]; then - echo -e "Found the following errors in the release environment:\n" - - for error in "${errors[@]}"; do - echo -e "- $error\n" - done - - exit 1 -fi - -echo "The environment is ready to push releases!" - diff --git a/package.json b/package.json index a2e48ab..1f5cbae 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "anthale", - "version": "0.4.6", + "version": "0.4.7", "description": "The official TypeScript library for the Anthale API", "author": "Anthale ", "types": "dist/index.d.ts", diff --git a/src/internal/utils/env.ts b/src/internal/utils/env.ts index 2d84800..cc5fa0f 100644 --- a/src/internal/utils/env.ts +++ b/src/internal/utils/env.ts @@ -9,10 +9,10 @@ */ export const readEnv = (env: string): string | undefined => { if (typeof (globalThis as any).process !== 'undefined') { - return (globalThis as any).process.env?.[env]?.trim() ?? undefined; + return (globalThis as any).process.env?.[env]?.trim() || undefined; } if (typeof (globalThis as any).Deno !== 'undefined') { - return (globalThis as any).Deno.env?.get?.(env)?.trim(); + return (globalThis as any).Deno.env?.get?.(env)?.trim() || undefined; } return undefined; }; diff --git a/src/version.ts b/src/version.ts index 0114d6c..543c3a7 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const VERSION = '0.4.6'; // x-release-please-version +export const VERSION = '0.4.7'; // x-release-please-version