Fix upload release tar archive generation

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-03-15 17:06:51 +01:00
parent bfeee95329
commit 2cc0b4ac78
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -243,7 +243,7 @@ release-upload:
APP_ASSET="${CI_PROJECT_NAME}_${APP_VERSION}_${ARCH}.tar.gz" APP_ASSET="${CI_PROJECT_NAME}_${APP_VERSION}_${ARCH}.tar.gz"
echo "Artifact: ${APP_ASSET}" echo "Artifact: ${APP_ASSET}"
tar czf ${APP_ASSET} -C release mobilizon tar czf ${APP_ASSET} -C release .
ls -al ${APP_ASSET} ls -al ${APP_ASSET}
curl --silent --show-error --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file "${APP_ASSET}" ${PACKAGE_REGISTRY_URL}/${APP_VERSION}/${APP_ASSET} curl --silent --show-error --header "JOB-TOKEN: ${CI_JOB_TOKEN}" --upload-file "${APP_ASSET}" ${PACKAGE_REGISTRY_URL}/${APP_VERSION}/${APP_ASSET}