diff --git a/.github/workflows/publish-packagist.yml b/.github/workflows/publish-packagist.yml new file mode 100644 index 0000000..93526d3 --- /dev/null +++ b/.github/workflows/publish-packagist.yml @@ -0,0 +1,21 @@ +name: Publish Packagist +on: + workflow_dispatch: + + release: + types: [published] + +jobs: + publish: + name: publish + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Publish to Packagist + run: |- + curl --fail-with-body -X POST -H 'Content-Type: application/json' "https://packagist.org/api/update-package?username=${PACKAGIST_USERNAME}&apiToken=${PACKAGIST_SAFE_KEY}" -d '{"repository":"https://github.com/context-dot-dev/context-php-sdk"}' + env: + PACKAGIST_USERNAME: ${{ secrets.CONTEXT_DEV_PACKAGIST_USERNAME || secrets.PACKAGIST_USERNAME }} + PACKAGIST_SAFE_KEY: ${{ secrets.CONTEXT_DEV_PACKAGIST_SAFE_KEY || secrets.PACKAGIST_SAFE_KEY }} \ No newline at end of file diff --git a/.github/workflows/release-doctor.yml b/.github/workflows/release-doctor.yml index 966c967..3763063 100644 --- a/.github/workflows/release-doctor.yml +++ b/.github/workflows/release-doctor.yml @@ -9,7 +9,7 @@ jobs: release_doctor: name: release doctor runs-on: ubuntu-latest - if: github.repository == 'stainless-sdks/context.dev-php' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') + if: github.repository == 'context-dot-dev/context-php-sdk' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next') steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 1332969..fea3454 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.0.1" + ".": "1.0.0" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index 052ef10..bacd568 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 25 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-e10718ebeb5bc263af75fe2341f7d1e91442f3e64b703bf7d416f8e7f328d2f9.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev/context.dev-3024c2681b0acf12535d68f39c1b49113330548513a54b276116cd3f2eda182e.yml openapi_spec_hash: ab3a6473e575381cacd245bf54dcf0f7 -config_hash: 48c9231dff85f546e8210338751ccb41 +config_hash: b0f343b2ab3baebad7b0d6d51f0f16fc diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..b00af26 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,15 @@ +# Changelog + +## 1.0.0 (2026-06-21) + +Full Changelog: [v0.0.1...v1.0.0](https://github.com/context-dot-dev/context-php-sdk/compare/v0.0.1...v1.0.0) + +### Features + +* **api:** manual updates ([ccdd487](https://github.com/context-dot-dev/context-php-sdk/commit/ccdd487df0a216fc3a1aa25d636e14883c9b3331)) + + +### Chores + +* configure new SDK language ([99718fc](https://github.com/context-dot-dev/context-php-sdk/commit/99718fc516e6729428e569fa4bcfa8383ab1e298)) +* update SDK settings ([f2a0d39](https://github.com/context-dot-dev/context-php-sdk/commit/f2a0d3925603e5877bf5e628b5e9a6228abb25fe)) diff --git a/README.md b/README.md index 821c95f..7f97bc0 100644 --- a/README.md +++ b/README.md @@ -10,21 +10,13 @@ The REST API documentation can be found on [docs.context.dev](https://docs.conte ## Installation -To use this package, install via Composer by adding the following to your application's `composer.json`: - -```json -{ - "repositories": [ - { - "type": "vcs", - "url": "git@github.com:stainless-sdks/context.dev-php.git" - } - ], - "require": { - "org-placeholder/context-dev": "dev-main" - } -} + + ``` +composer require "org-placeholder/context-dev 1.0.0" +``` + + ## Usage @@ -167,4 +159,4 @@ PHP 8.1.0 or higher. ## Contributing -See [the contributing documentation](https://github.com/stainless-sdks/context.dev-php/tree/main/CONTRIBUTING.md). +See [the contributing documentation](https://github.com/context-dot-dev/context-php-sdk/tree/main/CONTRIBUTING.md). diff --git a/src/Version.php b/src/Version.php index 3d7d9d3..7469c94 100644 --- a/src/Version.php +++ b/src/Version.php @@ -5,5 +5,5 @@ namespace ContextDev; // x-release-please-start-version -const VERSION = '0.0.1'; +const VERSION = '1.0.0'; // x-release-please-end