From 81a6dfb9a05a7ba659d733778029a82276fb48bb Mon Sep 17 00:00:00 2001 From: Marcin Simonides Date: Mon, 7 Oct 2024 15:36:24 +0200 Subject: [PATCH] Simplify github artifact name. --- .gitlab-ci-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci-release.yml b/.gitlab-ci-release.yml index 44bcb380f..f76b65eab 100644 --- a/.gitlab-ci-release.yml +++ b/.gitlab-ci-release.yml @@ -242,11 +242,12 @@ publish-github: GH_TOKEN: "${GITHUB_CLI_TOKEN}" OAUTH_URL: "https://oauth2:${GH_TOKEN}@github.com/ProtonVPN/android-app.git" ARTIFACT_PATH: "signedArtifacts/${ARCHIVES_BASE_NAME}-production-vanilla-direct-release.apk" + ARTIFACT_DISPLAY_NAME: "ProtonVPN-${VERSION_NAME}.apk" script: # Verify that uploaded artifact is signed with prod key - ./verify_apk_signature.sh "${ARTIFACT_PATH}" - gh release delete $VERSION_NAME -y || true - - gh release create $VERSION_NAME $ARTIFACT_PATH --title $VERSION_NAME --notes-file "$RELEASE_NOTES" --repo "${OAUTH_URL}" + - gh release create $VERSION_NAME "$ARTIFACT_PATH#$ARTIFACT_DISPLAY_NAME" --title $VERSION_NAME --notes-file "$RELEASE_NOTES" --repo "${OAUTH_URL}" # DEVOPS-2680: Push to S3 instead of download repo artifactlift-s3-upload-prod: