fix tag builds

This commit is contained in:
FloatingGhost 2022-06-11 18:48:26 +01:00
parent 2d3c10e4ff
commit 0ef7f90fd5

View file

@ -36,10 +36,10 @@ pipeline:
- mix deps.clean --all - mix deps.clean --all
- mix deps.get --only prod - mix deps.get --only prod
- mkdir release - mkdir release
- export PLEROMA_BUILD_BRANCH=$CI_COMMIT_BRANCH - export PLEROMA_BUILD_BRANCH=develop
- mix release --path release - mix release --path release
- zip akkoma-$CI_COMMIT_BRANCH-${tag}.zip -r release - zip akkoma-${tag}.zip -r release
- rclone copyto akkoma-$CI_COMMIT_BRANCH-${tag}.zip scaleway:akkoma-updates/$CI_COMMIT_BRANCH/akkoma-${tag}.zip - rclone copyto akkoma-${tag}.zip scaleway:akkoma-updates/develop/akkoma-${tag}.zip
musl: musl:
when: when:
@ -65,7 +65,7 @@ pipeline:
- mix deps.clean --all - mix deps.clean --all
- mix deps.get --only prod - mix deps.get --only prod
- mkdir release - mkdir release
- export PLEROMA_BUILD_BRANCH=${CI_COMMIT_BRANCH} - export PLEROMA_BUILD_BRANCH=develop
- mix release --path release - mix release --path release
- zip akkoma-$CI_COMMIT_BRANCH-${tag}.zip -r release - zip akkoma-${tag}.zip -r release
- rclone copyto akkoma-$CI_COMMIT_BRANCH-${tag}.zip scaleway:akkoma-updates/$CI_COMMIT_BRANCH/akkoma-${tag}.zip - rclone copyto akkoma-${tag}.zip scaleway:akkoma-updates/$CI_COMMIT_BRANCH/akkoma-${tag}.zip