-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A job was added to create a new draft release for each new version tag. Draft release will contain: - buildartifacts - changelog - release title. CI/travis/archive_artifacts.sh script was added in order to archive buildartifacts that will be pushed as assets. Signed-off-by: Raluca Chis <[email protected]>
- Loading branch information
Showing
2 changed files
with
69 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/bash -e | ||
|
||
archive_linux() { | ||
local linux_dist='CentOS-7-x86_64 CentOS-8-x86_64 Ubuntu-16.04-x86_64 | ||
Ubuntu-18.04-x86_64 Ubuntu-20.04-x86_64 Debian-Buster-ARM Debian-Buster-ARM64' | ||
|
||
cd "${SOURCE_DIRECTORY}" | ||
for distribution in $linux_dist; do | ||
tar -zcvf Linux-"${distribution}".tar.gz Linux-"${distribution}" | ||
rm -r Linux-"${distribution}" | ||
done | ||
} | ||
|
||
archive_macOS() { | ||
local macOS_dist='10.14 10.15' | ||
|
||
cd "${SOURCE_DIRECTORY}" | ||
for distribution in $macOS_dist; do | ||
tar -zcvf macOS-"${distribution}".tar.gz macOS-"${distribution}" | ||
rm -r macOS-"${distribution}" | ||
done | ||
} | ||
|
||
archive_windows() { | ||
local windows_dist='Win32 x64' | ||
|
||
cd "${SOURCE_DIRECTORY}" | ||
for distribution in $windows_dist; do | ||
zip -r Windows-VS-16-2019-"${distribution}".zip Windows-VS-16-2019-"${distribution}" | ||
rm -r Windows-VS-16-2019-"${distribution}" | ||
done | ||
} | ||
|
||
archive_linux | ||
archive_macOS | ||
archive_windows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters