[MM-19051] [MM-14180] [MM-19330] Release helpers, push to github and aws, fix weird name on msi at UAC (#1063)
* [MM-19051] release helpers * [MM-14180] release to github [MM-18330] more release helpers * [MM-19330] add proper name during uac * [MM-19051] address CR comments * add this branch fo testing * missing commits, remove trap to prevent ugly output * Run shellcheck against Bash scripts to fix issues * Try to fix build - attempt 1 * Add patch option to release script * add setup exe installer to generate_release script
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
function print_link() {
|
||||
# Requires sha256sum, on osx you can do
|
||||
# brew install coreutils
|
||||
|
||||
function print_link {
|
||||
local URL="${1}"
|
||||
local CHECKSUM="$(curl -s -S -L "${URL}" | sha256sum | awk '{print $1}')"
|
||||
echo "- ${URL}"
|
||||
@@ -15,13 +18,16 @@ cat <<-MD
|
||||
### Mattermost Desktop ${VERSION} has been cut!
|
||||
The download links can be found below.
|
||||
|
||||
#### Windows
|
||||
$(print_link "${BASE_URL}/mattermost-setup-${VERSION}-win32.exe")
|
||||
$(print_link "${BASE_URL}/mattermost-setup-${VERSION}-win64.exe")
|
||||
#### Windows - msi files (beta)
|
||||
$(print_link "${BASE_URL}/mattermost-desktop-v${VERSION}-x64.msi")
|
||||
$(print_link "${BASE_URL}/mattermost-desktop-v${VERSION}-x86.msi")
|
||||
|
||||
#### Windows - setup exe files
|
||||
$(print_link "${BASE_URL}/mattermost-desktop-setup-${VERSION}-win.exe")
|
||||
|
||||
#### Windows - zip files
|
||||
$(print_link "${BASE_URL}/mattermost-desktop-${VERSION}-win32.zip")
|
||||
$(print_link "${BASE_URL}/mattermost-desktop-${VERSION}-win64.zip")
|
||||
$(print_link "${BASE_URL}/mattermost-desktop-${VERSION}-win-ia32.zip")
|
||||
$(print_link "${BASE_URL}/mattermost-desktop-${VERSION}-win-x64.zip")
|
||||
|
||||
#### Mac
|
||||
$(print_link "${BASE_URL}/mattermost-desktop-${VERSION}-mac.dmg")
|
||||
|
Reference in New Issue
Block a user