From 6662858994773bdf967c0411c30735afdcc11be0 Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Mon, 21 Oct 2024 22:49:54 -0400 Subject: [PATCH] remove the prerelease component of the version since we don't use that for internal pypi --- .github/workflows/publish-internal.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-internal.yml b/.github/workflows/publish-internal.yml index 5dc82b75..c6959cf9 100644 --- a/.github/workflows/publish-internal.yml +++ b/.github/workflows/publish-internal.yml @@ -53,7 +53,9 @@ jobs: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - id: package - run: echo "version=$(hatch version)" >> $GITHUB_OUTPUT + run: | + hatch version release # strip the pre-release off since we don't use that internally + echo "version=$(hatch version)" >> $GITHUB_OUTPUT working-directory: ./${{ inputs.package }} - id: published run: |