1
0
mirror of https://github.com/docker/docs.git synced 2026-11-06 12:54:24 +03:00
Files
docs/ci/release
Jeffrey Morgan 99c43f8dfb Travis: build only on mac
Signed-off-by: Jeffrey Morgan <jmorganca@gmail.com>
2015-11-24 16:45:38 -05:00

12 lines
395 B
Bash
Executable File

#!/bin/bash
echo $MAC_KEY_CONTENT > mac_key_content.hex && xxd -p -r mac_key_content.hex ~/Library/Keychains/keychain.keychain && rm mac_key_content.hex
security unlock-keychain -p "$MAC_KEY_SECRET" ~/Library/Keychains/keychain.keychain
security default-keychain -s keychain.keychain
security list-keychains
# TODO: speed this up, it takes ~30 minutes
# brew install wine
npm run release-mac