From cf3557bf4ed929183bea7f7f1bd29664d7006a56 Mon Sep 17 00:00:00 2001 From: Richard Jackson Date: Mon, 8 Jul 2024 17:11:13 +0100 Subject: [PATCH] updated release command to public pypi --- .github/workflows/release.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fa1f32e7..69f95c78 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -178,16 +178,11 @@ jobs: run: | . kazu-env/bin/activate - hatch publish --user $ARTIFACT_USERNAME --auth $ARTIFACT_TOKEN --repo $ARTIFACT_PYPI_URL - export KAZU_BASE_CONF_ZIP="base-conf-"$(echo "${{ env.KAZU_RELEASE_VERSION }}")".zip" - (cd kazu && zip -r ../${KAZU_BASE_CONF_ZIP} conf ) - curl -u $ARTIFACT_USERNAME:$ARTIFACT_TOKEN -T ${KAZU_BASE_CONF_ZIP} "${ARTIFACT_GENERIC_URL}${KAZU_BASE_CONF_ZIP}" + hatch publish -r main env: - ARTIFACT_USERNAME: ${{ secrets.ARTIFACT_USERNAME }} - ARTIFACT_TOKEN: ${{ secrets.ARTIFACT_TOKEN }} - ARTIFACT_PYPI_URL: ${{ secrets.ARTIFACT_PYPI_URL }} - ARTIFACT_GENERIC_URL: ${{ secrets.ARTIFACT_GENERIC_URL }} + HATCH_INDEX_USER: ${{ secrets.HATCH_INDEX_USER }} + HATCH_INDEX_AUTH: ${{ secrets.HATCH_INDEX_AUTH }} - name: remove temp resources run: |