Mentions légales du service

Skip to content
Snippets Groups Projects
Commit fcdb75ab authored by hhakim's avatar hhakim
Browse files

Add expire dates for packages sent to gitlab and keep a local copy of revision pkg for macOS.

By default expire duration is one month.
parent bec686d8
No related branches found
No related tags found
No related merge requests found
......@@ -72,10 +72,12 @@ package_macos:
- productbuild --distribution ./distribution.plist --package-path . --resources doc ./faust-matio-$SHA_START.pkg
- mv ./faust-matio-$SHA_START.pkg ./faust-$SHA_START.pkg
# - if [[ -d $MACOS_PKG_STORE_PATH ]]; then echo $MACOS_PASS | sudo -S mv faust-$SHA_START.dmg faust-$SHA_START.pkg $MACOS_PKG_STORE_PATH; fi
- if [[ -d $MACOS_PKG_STORE_PATH ]]; then echo $MACOS_PASS | sudo -S cp faust-$SHA_START.dmg faust-$SHA_START.pkg $MACOS_PKG_STORE_PATH; fi
artifacts:
paths:
- build/faust-${CI_COMMIT_SHA:0:8}.pkg
- build/faust-${CI_COMMIT_SHA:0:8}.dmg
expire_in: '6 mos'
tags:
- macos
except:
......@@ -97,6 +99,7 @@ package_linux:
paths:
- build/faust-${CI_COMMIT_SHA:0:8}-x86_64.deb
- build/faust-${CI_COMMIT_SHA:0:8}-x86_64.rpm
expire_in: '6 mos'
tags:
- linux
except:
......@@ -127,6 +130,7 @@ package_macos_release:
paths:
- build/faust-${CI_COMMIT_TAG}.pkg
- build/faust-${CI_COMMIT_TAG}.dmg
expire_in: '50 yrs'
tags:
- macos
only:
......@@ -145,6 +149,7 @@ package_linux_release:
paths:
- build/faust-$CI_COMMIT_TAG-x86_64.deb
- build/faust-$CI_COMMIT_TAG-x86_64.rpm
expire_in: '50 yrs'
tags:
- linux
only:
......@@ -164,6 +169,7 @@ package_linux_release_static:
paths:
- build/faust-$CI_COMMIT_TAG-static-x86_64.deb
- build/faust-$CI_COMMIT_TAG-static-x86_64.rpm
expire_in: '50 yrs'
tags:
- linux
only:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment