diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6aff4b36..48bbee47 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,16 @@ jobs: steps: - uses: actions/checkout@v2 - name: Build and publish to pypi + if: "github.event.release.prerelease" uses: JRubics/poetry-publish@v1.16 with: + repository_name: "testpypi" + repository_url: "https://test.pypi.org/legacy/" python_version: "3.9.5" - pypi_token: ${{ secrets.PYPI_TOKEN }} \ No newline at end of file + pypi_token: ${{ secrets.TELLOR_DISPUTABES_TEST_PYPI_API_TOKEN }} + - uses: actions/checkout@v2 + - name: Build and publish to pypi + uses: JRubics/poetry-publish@v1.16 + with: + python_version: "3.9.5" + pypi_token: ${{ secrets.TELLOR_DISPUTABES_PYPI_API_TOKEN }} \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 8a1ef72f..6c9aa7b9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "tellor-disputables" -version = "1.2.2" +version = "1.2.3" description = "dashboard & text alerts for disputable values reported to Tellor oracles" authors = ["tallywiesenberg "] license = "MIT"