diff --git a/.changeset/nice-poems-invite.md b/.changeset/nice-poems-invite.md new file mode 100644 index 00000000..024c5e14 --- /dev/null +++ b/.changeset/nice-poems-invite.md @@ -0,0 +1,5 @@ +--- +"fingerprint-pro-server-api-python-sdk": patch +--- + +Testing updated workflow diff --git a/.changeset/pre.json b/.changeset/pre.json new file mode 100644 index 00000000..63ee87dc --- /dev/null +++ b/.changeset/pre.json @@ -0,0 +1,8 @@ +{ + "mode": "pre", + "tag": "rc", + "initialVersions": { + "fingerprint-pro-server-api-python-sdk": "8.6.0" + }, + "changesets": [] +} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 26f0ac5b..3b8b4ad7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,7 @@ jobs: name: 'Release project' uses: fingerprintjs/dx-team-toolkit/.github/workflows/release-sdk-changesets.yml@v1 with: - appId: ${{ vars.APP_ID }} + appId: ${{ vars.RUNNER_APP_ID }} version-command: bash ./changeset-version.sh publish-command: bash ./changeset-publish.sh language: python @@ -21,4 +21,4 @@ jobs: pip install wheel pip install twine secrets: - APP_PRIVATE_KEY: ${{ secrets.APP_PRIVATE_KEY }} + APP_PRIVATE_KEY: ${{ secrets.RUNNER_APP_PRIVATE_KEY }} diff --git a/contributing.md b/contributing.md index 1489cb7a..b89041ad 100644 --- a/contributing.md +++ b/contributing.md @@ -55,15 +55,7 @@ pytest ### How to publish -The library is automatically released and published to PyPi on every push to the main branch if there are relevant changes using [semantic-release](https://github.com/semantic-release/semantic-release) with following plugins: -* [@semantic-release/commit-analyzer](https://github.com/semantic-release/commit-analyzer) -* [@semantic-release/release-notes-generator](https://github.com/semantic-release/release-notes-generator) -* [@semantic-release/changelog](https://github.com/semantic-release/changelog) -* [@semantic-release/exec](https://github.com/semantic-release/exec) -* [semantic-release-pypi](https://github.com/abichinger/semantic-release-pypi) -* [@semantic-release/github](https://github.com/semantic-release/github) - -The workflow must be approved by one of the maintainers, first. +We use [changesets](https://github.com/changesets/changesets) for handling release notes. If there are relevant changes, please add them to changeset via `pnpm exec changeset`. You need to run `pnpm install` before doing so. #### Pre-release flow