Commit db0deb32 authored by Heinz N. Gies's avatar Heinz N. Gies

update cli

parent 8f747084
Pipeline #12425973 passed with stage
in 36 seconds
......@@ -51,9 +51,9 @@ smartos:
- export BRANCH=$(if [ "$CI_BUILD_REF_NAME" = "master" ]; then echo rel; else echo dev; fi)
- gmake dist
- mkdir -p rel/pkg/info
- s3cmd put rel/pkg/*.tgz s3://release.project-fifo.net/pkg/$DS_VER/$BRANCH/
- aws s3 cp rel/pkg/*.tgz s3://release.project-fifo.net/pkg/$DS_VER/$BRANCH/
- pkg_info -X rel/pkg/*.tgz > rel/pkg/info/$(pkg_info -X rel/pkg/*.tgz | awk -F "=" '/FILE_NAME/ {print $2}')
- s3cmd put rel/pkg/info/* s3://release-info.project-fifo.net/pkg/$DS_VER/$BRANCH/
- aws s3 cp rel/pkg/info/* s3://release-info.project-fifo.net/pkg/$DS_VER/$BRANCH/
- 'curl --request POST --form "token=$CI_JOB_TOKEN" --form "ref=master" --form "variables[DS_VER]=$DS_VER" --form "variables[BRANCH]=$BRANCH" https://gitlab.com/api/v4/projects/$REPO_PID/trigger/pipeline'
tags:
- erlang-19
......@@ -89,7 +89,7 @@ bsd:
- export ARCH=$(uname -m)
- export BRANCH=$(if [ "$CI_BUILD_REF_NAME" = "master" ]; then echo rel; else echo dev; fi)
- gmake dist
- s3cmd put rel/pkgng/*.txz s3://freebsd.project-fifo.net/$BRANCH/$ARCH/$OS_VER/
- aws s3 cp rel/pkgng/*.txz s3://freebsd.project-fifo.net/$BRANCH/$ARCH/$OS_VER/
- 'curl --request POST --form "token=$CI_JOB_TOKEN" --form "ref=master" --form "variables[ARCH]=$ARCH" --form "variables[OS_VER]=$OS_VER" --form "variables[BRANCH]=$BRANCH" https://gitlab.com/api/v4/projects/$PKGNG_REPO_PID/trigger/pipeline'
tags:
- erlang-19
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment