From 1a60cac0595a5ab2965c08a05b3a5f7243c169aa Mon Sep 17 00:00:00 2001 From: Samuel Anderson <119458760+AWS-Samuel@users.noreply.github.com> Date: Mon, 25 Mar 2024 17:15:52 -0500 Subject: [PATCH] build: remove unused publish script (#82) Signed-off-by: Samuel Anderson <119458760+AWS-Samuel@users.noreply.github.com> --- scripts/publish.sh | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100755 scripts/publish.sh diff --git a/scripts/publish.sh b/scripts/publish.sh deleted file mode 100755 index 1adb6b0..0000000 --- a/scripts/publish.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/bash -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - -set -euo pipefail - -hatch clean -hatch run lint -hatch run test:test -hatch build - -export TWINE_USERNAME=aws -export TWINE_PASSWORD=`aws codeartifact get-authorization-token --domain $CODEARTIFACT_DOMAIN --domain-owner $CODEARTIFACT_ACCOUNT_ID --query authorizationToken --output text` -export TWINE_REPOSITORY_URL=`aws codeartifact get-repository-endpoint --domain $CODEARTIFACT_DOMAIN --domain-owner $CODEARTIFACT_ACCOUNT_ID --repository $CODEARTIFACT_REPOSITORY --format pypi --query repositoryEndpoint --output text` -twine upload dist/*