create gitea releases

pull/110/head
Alya Sirko 2022-09-02 15:02:47 +03:00
parent 04ab319ded
commit c1b2f95d9b
1 changed files with 2 additions and 4 deletions

View File

@ -84,15 +84,13 @@ steps:
SSH_PRIVATE_KEY: SSH_PRIVATE_KEY:
from_secret: SSH_PRIVATE_KEY from_secret: SSH_PRIVATE_KEY
- name: Create release on Gitea Repository - name: Create Release on Gitea Repository
commands: commands:
# Prepare tea CLI # Prepare tea CLI
- tea login add --token "$GITEA_RELEASE_TOKEN" --url https://git.selfprivacy.org - tea login add --token "$GITEA_RELEASE_TOKEN" --url https://git.selfprivacy.org
# Create release and push artifacts # Create release and push artifacts
- tea releases --repo "$DRONE_REPO" create --tag "$DRONE_SEMVER" --title "$DRONE_SEMVER" --asset standalone_"pro.kherel.selfprivacy_$APP_BUILD_ID.apk" --asset standalone_"pro.kherel.selfprivacy_$APP_BUILD_ID.apk".idsig - tea releases create --repo "$DRONE_REPO" --tag "$DRONE_SEMVER" --title "$DRONE_SEMVER" --asset standalone_"pro.kherel.selfprivacy_$APP_BUILD_ID.apk" --asset standalone_"pro.kherel.selfprivacy_$APP_BUILD_ID.apk".idsig
environment: environment:
SSH_PRIVATE_KEY:
from_secret: SSH_PRIVATE_KEY
GITEA_RELEASE_TOKEN: GITEA_RELEASE_TOKEN:
from_secret: GITEA_RELEASE_TOKEN from_secret: GITEA_RELEASE_TOKEN