Skip to content

Commit

Permalink
Simplify github artifact name.
Browse files Browse the repository at this point in the history
  • Loading branch information
msimonides-proton committed Oct 14, 2024
1 parent 6d19558 commit 81a6dfb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitlab-ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 81a6dfb

Please sign in to comment.