Skip to content

Commit 81a6dfb

Browse files
Simplify github artifact name.
1 parent 6d19558 commit 81a6dfb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.gitlab-ci-release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -242,11 +242,12 @@ publish-github:
242242
GH_TOKEN: "${GITHUB_CLI_TOKEN}"
243243
OAUTH_URL: "https://oauth2:${GH_TOKEN}@github.com/ProtonVPN/android-app.git"
244244
ARTIFACT_PATH: "signedArtifacts/${ARCHIVES_BASE_NAME}-production-vanilla-direct-release.apk"
245+
ARTIFACT_DISPLAY_NAME: "ProtonVPN-${VERSION_NAME}.apk"
245246
script:
246247
# Verify that uploaded artifact is signed with prod key
247248
- ./verify_apk_signature.sh "${ARTIFACT_PATH}"
248249
- gh release delete $VERSION_NAME -y || true
249-
- gh release create $VERSION_NAME $ARTIFACT_PATH --title $VERSION_NAME --notes-file "$RELEASE_NOTES" --repo "${OAUTH_URL}"
250+
- gh release create $VERSION_NAME "$ARTIFACT_PATH#$ARTIFACT_DISPLAY_NAME" --title $VERSION_NAME --notes-file "$RELEASE_NOTES" --repo "${OAUTH_URL}"
250251

251252
# DEVOPS-2680: Push to S3 instead of download repo
252253
artifactlift-s3-upload-prod:

0 commit comments

Comments
 (0)