make daily links in s3 look always the same to help with rainforest (#1568)
This commit is contained in:
@@ -306,10 +306,20 @@ jobs:
|
|||||||
- checkout
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: ./dist
|
at: ./dist
|
||||||
|
- run:
|
||||||
|
name: "install renaming utility"
|
||||||
|
command: |
|
||||||
|
apt-get install rename
|
||||||
- run:
|
- run:
|
||||||
name: "Normalize folder names"
|
name: "Normalize folder names"
|
||||||
command: |
|
command: |
|
||||||
mv ./dist/macos-release ./dist/macos
|
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:
|
- aws-s3/copy:
|
||||||
from: ./dist/
|
from: ./dist/
|
||||||
to: s3://mattermost-desktop-daily-builds/
|
to: s3://mattermost-desktop-daily-builds/
|
||||||
|
Reference in New Issue
Block a user