Tweak artifact name for release

This commit is contained in:
Yuya Ochiai
2018-11-26 23:49:59 +09:00
parent 98974e4bb3
commit b5228f8779
2 changed files with 8 additions and 8 deletions

View File

@@ -5,10 +5,10 @@ VERSION=`cat package.json | jq -r '.version'`
SRC=$1 SRC=$1
DEST=$2 DEST=$2
cp "${SRC}/mattermost-${VERSION}-win-ia32.zip" "${DEST}/mattermost-desktop-${VERSION}-win-ia32.zip" cp "${SRC}/mattermost-${VERSION}-win-ia32.zip" "${DEST}/mattermost-desktop-${VERSION}-win32.zip"
cp "${SRC}/mattermost-${VERSION}-win-x64.zip" "${DEST}/mattermost-desktop-${VERSION}-win-x64.zip" cp "${SRC}/mattermost-${VERSION}-win-x64.zip" "${DEST}/mattermost-desktop-${VERSION}-win64.zip"
cp "${SRC}/squirrel-windows/mattermost-setup-${VERSION}.exe" "${DEST}/mattermost-setup-${VERSION}-x64.exe" cp "${SRC}/squirrel-windows/mattermost-setup-${VERSION}.exe" "${DEST}/mattermost-setup-${VERSION}-win64.exe"
cp "${SRC}"/squirrel-windows-ia32/*.exe "${DEST}/" cp "${SRC}/squirrel-windows-ia32/mattermost-setup-${VERSION}-ia32.exe" "${DEST}/mattermost-setup-${VERSION}-win32.exe"
cp "${SRC}"/mattermost-desktop-*.zip "${DEST}/" cp "${SRC}"/mattermost-desktop-*.zip "${DEST}/"
cp "${SRC}"/*.tar.gz "${DEST}/" cp "${SRC}"/*.tar.gz "${DEST}/"
cp "${SRC}"/*.deb "${DEST}/" cp "${SRC}"/*.deb "${DEST}/"

View File

@@ -16,12 +16,12 @@ cat <<-MD
The download links can be found below. The download links can be found below.
#### Windows #### Windows
$(print_link "${BASE_URL}/mattermost-setup-${VERSION}-ia32.exe") $(print_link "${BASE_URL}/mattermost-setup-${VERSION}-win32.exe")
$(print_link "${BASE_URL}/mattermost-setup-${VERSION}-x64.exe") $(print_link "${BASE_URL}/mattermost-setup-${VERSION}-win64.exe")
#### Windows - zip files #### Windows - zip files
$(print_link "${BASE_URL}/mattermost-desktop-${VERSION}-win-ia32.zip") $(print_link "${BASE_URL}/mattermost-desktop-${VERSION}-win32.zip")
$(print_link "${BASE_URL}/mattermost-desktop-${VERSION}-win-x64.zip") $(print_link "${BASE_URL}/mattermost-desktop-${VERSION}-win64.zip")
#### Mac #### Mac
$(print_link "${BASE_URL}/mattermost-desktop-${VERSION}-mac.dmg") $(print_link "${BASE_URL}/mattermost-desktop-${VERSION}-mac.dmg")