Fix release path
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
c6efc8dacc
commit
f0d152f510
@ -205,18 +205,32 @@ build-docker-tag:
|
|||||||
|
|
||||||
package-app:
|
package-app:
|
||||||
stage: package
|
stage: package
|
||||||
variables:
|
variables: &release-variables
|
||||||
MIX_ENV: "prod"
|
MIX_ENV: "prod"
|
||||||
script:
|
script: &release-script
|
||||||
- mix local.hex --force
|
- mix local.hex --force
|
||||||
- mix local.rebar --force
|
- mix local.rebar --force
|
||||||
- mix deps.get
|
- mix deps.get
|
||||||
- mix phx.digest
|
- mix phx.digest
|
||||||
- mix release
|
- mix release --path release
|
||||||
|
- cd release && ln -s lib/mobilizon-*/priv priv
|
||||||
|
only:
|
||||||
|
- tags@framasoft/mobilizon
|
||||||
|
artifacts:
|
||||||
|
expire_in: never
|
||||||
|
paths:
|
||||||
|
- release
|
||||||
|
|
||||||
|
package-app-dev:
|
||||||
|
stage: package
|
||||||
|
variables: *release-variables
|
||||||
|
script: *release-script
|
||||||
|
except:
|
||||||
|
- tags@framasoft/mobilizon
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 2 days
|
expire_in: 2 days
|
||||||
paths:
|
paths:
|
||||||
- _build/prod/rel
|
- release
|
||||||
|
|
||||||
release-upload:
|
release-upload:
|
||||||
stage: upload
|
stage: upload
|
||||||
|
Loading…
Reference in New Issue
Block a user