Fix release generation path
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
2cc0b4ac78
commit
b356fb2b09
@ -213,8 +213,8 @@ package-app:
|
||||
- mix local.rebar --force
|
||||
- mix deps.get
|
||||
- mix phx.digest
|
||||
- mix release --path release
|
||||
- cd release && ln -s lib/mobilizon-*/priv priv
|
||||
- mix release --path release/mobilizon
|
||||
- cd release/mobilizon && ln -s lib/mobilizon-*/priv priv
|
||||
only:
|
||||
- tags@framasoft/mobilizon
|
||||
artifacts:
|
||||
@ -243,7 +243,7 @@ release-upload:
|
||||
APP_ASSET="${CI_PROJECT_NAME}_${APP_VERSION}_${ARCH}.tar.gz"
|
||||
|
||||
echo "Artifact: ${APP_ASSET}"
|
||||
tar czf ${APP_ASSET} -C release .
|
||||
tar czf ${APP_ASSET} -C release mobilizon
|
||||
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}
|
||||
|
Loading…
Reference in New Issue
Block a user