make daily links in s3 look always the same to help with rainforest (#1568)

This commit is contained in:
Guillermo Vayá
2021-04-27 10:42:26 +02:00
committed by GitHub
parent 9e5dfd6946
commit 8b53554753

View File

@@ -306,10 +306,20 @@ jobs:
- checkout
- attach_workspace:
at: ./dist
- run:
name: "install renaming utility"
command: |
apt-get install rename
- run:
name: "Normalize folder names"
command: |
mv ./dist/macos-release ./dist/macos
- run:
name: "Rename to daily for consistency"
command: |
rename 's/\d+\.\d+\.\d+/daily/' macos/*
rename 's/\d+\.\d+\.\d+/daily/' linux/*
rename 's/\d+\.\d+\.\d+/daily/' win/*
- aws-s3/copy:
from: ./dist/
to: s3://mattermost-desktop-daily-builds/