From 990f42e208d477e5942bde2daf163a91a684e620 Mon Sep 17 00:00:00 2001 From: 15cm Date: Sat, 4 Mar 2017 17:25:51 +0800 Subject: [PATCH] [!] Update token --- .travis.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index b6fc594..4936e6e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,19 +10,14 @@ script: before_deploy: # package release into dmg - release_dir=build/Release - - release_name=AMM_$TRAVIS_TAG - - dmg_path=$release_dir/$release_name/$release_name.dmg - - mkdir $release_dir/$release_name && mv $release_dir/AMM.app $_ && ln -s /Applications $_/ - - hdiutil create $dmg_path -volname release_name -srcfolder $release_dir/$release_name - # Get release note - - release_note=$(git log -1 --pretty=format:"%s" $TRAVIS_TAG) - - echo $release_note + - release_name=AMM_${TRAVIS_TAG} + - dmg_path=${release_dir}/${release_name}/${release_name}.dmg + - mkdir ${release_dir}/${release_name} && mv ${release_dir}/AMM.app $_ && ln -s /Applications $_/ + - hdiutil create ${dmg_path} -volname release_name -srcfolder ${release_dir}/${release_name} deploy: provider: releases - releases: AMM $TRAVIS_TAG - description: $release_note api_key: - secure: CA2K/z6uIGg76OlE6VfyhUq6/KkkCSQQz1J+7x6mDyeheEX6h7FMG2pU3XzcENby3WAPA0PDIJJ6QIfeAfOzX/i+FClbckzL8mdSEcqZhQBPNNVwvHQsDHUsHramctOVgtGAtHftpwuaJX8g/JKT1f7sGvrr3hZNlB9MgzNU5ZvXjrxHbTLzQgcISFM+5Awl4ITFgg5ghQRi7AbDMKPa/F9pGNdwHSI6Eq3JIQdenwgVJVJnXlg3FnvqAR1TLspyfk/Ic+0TatS7V0nXldo9wXJHvojrUPp12g8ISXwT8QPdny/dDfG4xHUWsk3BctQKjYd4UOL4egvawrkkpa3muDuTiWk4Nls2GC7rtmp/jnCfrTfVGxUgEfDJpcFGFZMAySj9MtZGALa9htD8+/aLBc+7SeHUWFimFl+6YlyWKY8O4liDKcK5ZPsLc8g/oCN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